# HG changeset patch # User Richard M. Stallman # Date 1104504885 0 # Node ID 376983f6260291bd1c672c7b668f9541e7b54b98 # Parent d162faeebae498873d89dc0e1554af56aaa8b94e (modula-2-mode): Use mode-require-final-newline. diff -r d162faeebae4 -r 376983f62602 lisp/progmodes/modula2.el --- a/lisp/progmodes/modula2.el Fri Dec 31 14:54:29 2004 +0000 +++ b/lisp/progmodes/modula2.el Fri Dec 31 14:54:45 2004 +0000 @@ -151,7 +151,7 @@ ; (make-local-variable 'indent-line-function) ; (setq indent-line-function 'c-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)