From a7dee7e7732c1f8c0972994e19c1b2754f421e1a Mon Sep 17 00:00:00 2001 From: Chong Yidong Date: Fri, 21 Oct 2011 22:48:39 +0800 Subject: [PATCH] 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. --- lisp/ChangeLog | 7 +++++++ lisp/progmodes/idlwave.el | 2 -- lisp/progmodes/vera-mode.el | 2 -- 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 150ffd629e5..42c2a9ebfb4 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,10 @@ +2011-10-21 Chong Yidong + + * progmodes/idlwave.el (idlwave-mode): + * progmodes/vera-mode.el (vera-mode): No need to set + require-final-newline; that's done in prog-mode. Suggested by + Stefan Monnier. + 2011-10-21 Martin Rudalics * mouse.el (mouse-drag-window-above) 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) -- 2.39.2