File tree 3 files changed +6
-6
lines changed
3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -15,4 +15,4 @@ File: dir, Node: Top This is the top of the INFO tree
15
15
* Menu:
16
16
17
17
Programming
18
- * Drupal: (drupal-mode). Advanced minor mode for developing in Drupal.
18
+ * Drupal: (drupal-mode). Advanced minor mode for Drupal development .
Original file line number Diff line number Diff line change 1
1
(define-package " drupal-mode" " 0.1.0"
2
- " Advanced minor mode for developing in Drupal"
2
+ " Advanced minor mode for Drupal development "
3
3
'((php-mode " 1.5.0" )))
Original file line number Diff line number Diff line change 1
- ; ;; drupal-mode.el --- Advanced minor mode for developing in Drupal
1
+ ; ;; drupal-mode.el --- Advanced minor mode for Drupal development
2
2
3
3
; ; Copyright (C) 2012 Arne Jørgensen
4
4
@@ -86,7 +86,7 @@ First parameter is the Drupal version. Second parameter is the search term."
86
86
87
87
;;;### autoload
88
88
(define-minor-mode drupal-mode
89
- " Major mode for developing Drupal modules and code .\n\n \\ {drupal-mode-map}"
89
+ " Advanced minor mode for Drupal development .\n\n \\ {drupal-mode-map}"
90
90
:group 'drupal
91
91
:init-value nil
92
92
:lighter " /Drupal"
@@ -153,7 +153,7 @@ According to http://drupal.org/coding-standards#indenting."
153
153
" Convert to unix style line ending.
154
154
According to http://drupal.org/coding-standards#indenting you
155
155
should save your files with unix style end of line."
156
- (when (and ( eq major-mode ' drupal-mode)
156
+ (when (and drupal-mode
157
157
drupal-convert-line-ending
158
158
(/= (coding-system-eol-type buffer-file-coding-system) 0 ))
159
159
(if (or (eq drupal-convert-line-ending t )
@@ -166,7 +166,7 @@ should save your files with unix style end of line."
166
166
167
167
(defun drupal-delete-trailing-whitespace ()
168
168
" Delete trailing whitespace if in drupal mode."
169
- (when (and ( eq major-mode ' drupal-mode)
169
+ (when (and drupal-mode
170
170
drupal-delete-trailing-whitespace)
171
171
(delete-trailing-whitespace )))
172
172
You can’t perform that action at this time.
0 commit comments