diff --git a/lisp/progmodes/f90.el b/lisp/progmodes/f90.el index 0f97e3f0012..fdb7fffac6c 100644 --- a/lisp/progmodes/f90.el +++ b/lisp/progmodes/f90.el @@ -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)