]> code.delx.au - gnu-emacs/commitdiff
Fix for 2011-10-21T02:23:59Z!cyd@gnu.org.
authorChong Yidong <cyd@gnu.org>
Fri, 21 Oct 2011 14:48:39 +0000 (22:48 +0800)
committerChong Yidong <cyd@gnu.org>
Fri, 21 Oct 2011 14:48:39 +0000 (22:48 +0800)
* 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
lisp/progmodes/idlwave.el
lisp/progmodes/vera-mode.el

index 150ffd629e53fb569e7c5322d97b453b0b9c634d..42c2a9ebfb4c6efddee41f4ce3149ba7b9b52191 100644 (file)
@@ -1,3 +1,10 @@
+2011-10-21  Chong Yidong  <cyd@gnu.org>
+
+       * 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  <rudalics@gmx.at>
 
        * mouse.el (mouse-drag-window-above)
index 2b65dd4da695cd1bbcd29192af2b981bd79f16da..c77ee4b76a9fa9fb2d483dfc105453512218a9ba 100644 (file)
@@ -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)
index 31ad412c984cfc9b2b4d0f19d9b7c8d324966ee0..b02324871ff46f96b5745a6c95d80fd255295546 100644 (file)
@@ -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)