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 150ffd6..42c2a9e 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 2b65dd4..c77ee4b 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 31ad412..b023248 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)