]> code.delx.au - gnu-emacs/commitdiff
(f90-mode): Use mode-require-final-newline.
authorRichard M. Stallman <rms@gnu.org>
Fri, 31 Dec 2004 14:53:24 +0000 (14:53 +0000)
committerRichard M. Stallman <rms@gnu.org>
Fri, 31 Dec 2004 14:53:24 +0000 (14:53 +0000)
lisp/progmodes/f90.el

index 0f97e3f0012c0f3e614d411774b9fd1e708d8346..fdb7fffac6c1a0ab5e23cd76d0c906c64394f57f 100644 (file)
@@ -818,7 +818,7 @@ with no args, if that value is non-nil."
   (use-local-map f90-mode-map)
   (set (make-local-variable 'indent-line-function) 'f90-indent-line)
   (set (make-local-variable 'indent-region-function) 'f90-indent-region)
-  (set (make-local-variable 'require-final-newline) t)
+  (set (make-local-variable 'require-final-newline) mode-require-final-newline)
   (set (make-local-variable 'comment-start) "!")
   (set (make-local-variable 'comment-start-skip) "!+ *")
   (set (make-local-variable 'comment-indent-function) 'f90-comment-indent)