summaryrefslogtreecommitdiff
path: root/lisp/progmodes/modula2.el
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>2004-12-31 14:54:45 +0000
committerRichard M. Stallman <rms@gnu.org>2004-12-31 14:54:45 +0000
commitc3b575e1acc46d775e47a459de2873b6f0459c09 (patch)
tree109b6c75ec196ba762cf939efa54e3798a2aa598 /lisp/progmodes/modula2.el
parent6c11795edc2b666ec3f14d01ce4cf1f848280bc3 (diff)
downloademacs-c3b575e1acc46d775e47a459de2873b6f0459c09.tar.gz
(modula-2-mode): Use mode-require-final-newline.
Diffstat (limited to 'lisp/progmodes/modula2.el')
-rw-r--r--lisp/progmodes/modula2.el2
1 files changed, 1 insertions, 1 deletions
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)