From: Richard M. Stallman Date: Fri, 31 Dec 2004 14:54:45 +0000 (+0000) Subject: (modula-2-mode): Use mode-require-final-newline. X-Git-Tag: ttn-vms-21-2-B4~3017 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=c3b575e1acc46d775e47a459de2873b6f0459c09;p=emacs.git (modula-2-mode): Use mode-require-final-newline. --- diff --git a/lisp/progmodes/modula2.el b/lisp/progmodes/modula2.el index 2501f2d362e..0fa46bee0f9 100644 --- a/lisp/progmodes/modula2.el +++ b/lisp/progmodes/modula2.el @@ -151,7 +151,7 @@ followed by the first character of the construct. ; (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)