diff options
| author | Chong Yidong | 2011-10-20 22:23:59 -0400 |
|---|---|---|
| committer | Chong Yidong | 2011-10-20 22:23:59 -0400 |
| commit | 30fcaf3a28e94241889bdd6e27ae759c4185ad74 (patch) | |
| tree | 37c810e0c26e2ed13fd1d6089fb161d964680233 | |
| parent | e195ae68f843264360ae147e1bc1d47ede35ad7a (diff) | |
| download | emacs-30fcaf3a28e94241889bdd6e27ae759c4185ad74.tar.gz emacs-30fcaf3a28e94241889bdd6e27ae759c4185ad74.zip | |
Use mode-require-final-newline for idlwave.el and vera-mode.el.
* progmodes/idlwave.el (idlwave-mode):
* progmodes/vera-mode.el (vera-mode): Use mode-require-final-newline.
| -rw-r--r-- | lisp/ChangeLog | 6 | ||||
| -rw-r--r-- | lisp/progmodes/idlwave.el | 3 | ||||
| -rw-r--r-- | lisp/progmodes/vera-mode.el | 3 |
3 files changed, 10 insertions, 2 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index e18fdaec0bf..5c235e9cca0 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,9 @@ | |||
| 1 | 2011-10-21 Chong Yidong <cyd@gnu.org> | ||
| 2 | |||
| 3 | * progmodes/idlwave.el (idlwave-mode): | ||
| 4 | * progmodes/vera-mode.el (vera-mode): Use | ||
| 5 | mode-require-final-newline. | ||
| 6 | |||
| 1 | 2011-10-20 Glenn Morris <rgm@gnu.org> | 7 | 2011-10-20 Glenn Morris <rgm@gnu.org> |
| 2 | 8 | ||
| 3 | * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781) | 9 | * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781) |
diff --git a/lisp/progmodes/idlwave.el b/lisp/progmodes/idlwave.el index 8066e1c3a7f..2b65dd4da69 100644 --- a/lisp/progmodes/idlwave.el +++ b/lisp/progmodes/idlwave.el | |||
| @@ -1907,7 +1907,8 @@ The main features of this mode are | |||
| 1907 | (set (make-local-variable 'comment-start-skip) ";+[ \t]*") | 1907 | (set (make-local-variable 'comment-start-skip) ";+[ \t]*") |
| 1908 | (set (make-local-variable 'comment-start) ";") | 1908 | (set (make-local-variable 'comment-start) ";") |
| 1909 | (set (make-local-variable 'comment-add) 1) ; ";;" for new and regions | 1909 | (set (make-local-variable 'comment-add) 1) ; ";;" for new and regions |
| 1910 | (set (make-local-variable 'require-final-newline) t) | 1910 | (set (make-local-variable 'require-final-newline) |
| 1911 | mode-require-final-newline) | ||
| 1911 | (set (make-local-variable 'abbrev-all-caps) t) | 1912 | (set (make-local-variable 'abbrev-all-caps) t) |
| 1912 | (set (make-local-variable 'indent-tabs-mode) nil) | 1913 | (set (make-local-variable 'indent-tabs-mode) nil) |
| 1913 | (set (make-local-variable 'completion-ignore-case) t) | 1914 | (set (make-local-variable 'completion-ignore-case) t) |
diff --git a/lisp/progmodes/vera-mode.el b/lisp/progmodes/vera-mode.el index 1f33f5f3aaf..31ad412c984 100644 --- a/lisp/progmodes/vera-mode.el +++ b/lisp/progmodes/vera-mode.el | |||
| @@ -310,7 +310,8 @@ Key bindings: | |||
| 310 | (set (make-local-variable 'comment-indent-function) 'c-comment-indent) | 310 | (set (make-local-variable 'comment-indent-function) 'c-comment-indent) |
| 311 | (set (make-local-variable 'paragraph-start) "^$") | 311 | (set (make-local-variable 'paragraph-start) "^$") |
| 312 | (set (make-local-variable 'paragraph-separate) paragraph-start) | 312 | (set (make-local-variable 'paragraph-separate) paragraph-start) |
| 313 | (set (make-local-variable 'require-final-newline) t) | 313 | (set (make-local-variable 'require-final-newline) |
| 314 | mode-require-final-newline) | ||
| 314 | (set (make-local-variable 'indent-tabs-mode) nil) | 315 | (set (make-local-variable 'indent-tabs-mode) nil) |
| 315 | (set (make-local-variable 'indent-line-function) 'vera-indent-line) | 316 | (set (make-local-variable 'indent-line-function) 'vera-indent-line) |
| 316 | (set (make-local-variable 'parse-sexp-ignore-comments) t) | 317 | (set (make-local-variable 'parse-sexp-ignore-comments) t) |