]> git.eshelyaron.com Git - emacs.git/commitdiff
(simula-mode): Use mode-require-final-newline.
authorRichard M. Stallman <rms@gnu.org>
Fri, 31 Dec 2004 14:57:45 +0000 (14:57 +0000)
committerRichard M. Stallman <rms@gnu.org>
Fri, 31 Dec 2004 14:57:45 +0000 (14:57 +0000)
lisp/progmodes/simula.el

index a27f91e8595e55e21eaa46f9564b66363e739744..b9097536bfea26e17abc0b0f8543dacd5c9f8009 100644 (file)
@@ -380,7 +380,7 @@ with no arguments, if that value is non-nil."
   (make-local-variable 'indent-line-function)
   (setq indent-line-function 'simula-indent-line)
   (make-local-variable 'require-final-newline)
-  (setq require-final-newline t)
+  (setq require-final-newline mode-require-final-newline)
   (make-local-variable 'comment-start)
   (setq comment-start "! ")
   (make-local-variable 'comment-end)