summaryrefslogtreecommitdiff
path: root/lisp/progmodes
diff options
context:
space:
mode:
authorChong Yidong <cyd@gnu.org>2011-10-21 22:48:39 +0800
committerChong Yidong <cyd@gnu.org>2011-10-21 22:48:39 +0800
commita7dee7e7732c1f8c0972994e19c1b2754f421e1a (patch)
treec8ef19265b83076432970cf031a8613e4b8bb793 /lisp/progmodes
parentbfd779dd73eb7bc3258c98e12aa7fbcbc98f6bbd (diff)
downloademacs-a7dee7e7732c1f8c0972994e19c1b2754f421e1a.tar.gz
Fix for 2011-10-21T02:23:59Z!cyd@gnu.org.
* lisp/progmodes/idlwave.el (idlwave-mode): * lisp/progmodes/vera-mode.el (vera-mode): No need to set require-final-newline; that's done in prog-mode. Suggested by Stefan Monnier.
Diffstat (limited to 'lisp/progmodes')
-rw-r--r--lisp/progmodes/idlwave.el2
-rw-r--r--lisp/progmodes/vera-mode.el2
2 files changed, 0 insertions, 4 deletions
diff --git a/lisp/progmodes/idlwave.el b/lisp/progmodes/idlwave.el
index 2b65dd4da69..c77ee4b76a9 100644
--- a/lisp/progmodes/idlwave.el
+++ b/lisp/progmodes/idlwave.el
@@ -1907,8 +1907,6 @@ The main features of this mode are
(set (make-local-variable 'comment-start-skip) ";+[ \t]*")
(set (make-local-variable 'comment-start) ";")
(set (make-local-variable 'comment-add) 1) ; ";;" for new and regions
- (set (make-local-variable 'require-final-newline)
- mode-require-final-newline)
(set (make-local-variable 'abbrev-all-caps) t)
(set (make-local-variable 'indent-tabs-mode) nil)
(set (make-local-variable 'completion-ignore-case) t)
diff --git a/lisp/progmodes/vera-mode.el b/lisp/progmodes/vera-mode.el
index 31ad412c984..b02324871ff 100644
--- a/lisp/progmodes/vera-mode.el
+++ b/lisp/progmodes/vera-mode.el
@@ -310,8 +310,6 @@ Key bindings:
(set (make-local-variable 'comment-indent-function) 'c-comment-indent)
(set (make-local-variable 'paragraph-start) "^$")
(set (make-local-variable 'paragraph-separate) paragraph-start)
- (set (make-local-variable 'require-final-newline)
- mode-require-final-newline)
(set (make-local-variable 'indent-tabs-mode) nil)
(set (make-local-variable 'indent-line-function) 'vera-indent-line)
(set (make-local-variable 'parse-sexp-ignore-comments) t)