From: Richard M. Stallman Date: Fri, 31 Dec 2004 14:54:29 +0000 (+0000) Subject: (mixal-mode): Use mode-require-final-newline. X-Git-Tag: ttn-vms-21-2-B4~3018 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=6c11795edc2b666ec3f14d01ce4cf1f848280bc3;p=emacs.git (mixal-mode): Use mode-require-final-newline. --- diff --git a/lisp/progmodes/mixal-mode.el b/lisp/progmodes/mixal-mode.el index 72a0f2e9105..1fbbabcf67e 100644 --- a/lisp/progmodes/mixal-mode.el +++ b/lisp/progmodes/mixal-mode.el @@ -1303,8 +1303,9 @@ The converted character representation is stored in rAX." (set (make-local-variable 'compile-command) (concat "mixasm -g " buffer-file-name)) ;; mixasm will do strange when there is no final newline, - ;; let emacs ensure that it is always there - (set (make-local-variable 'require-final-newline) t)) + ;; so let Emacs ensure that it is always there + (set (make-local-variable 'require-final-newline) + mode-require-final-newline)) ;;;###autoload (add-to-list 'auto-mode-alist '("\\.mixal\\'" . mixal-mode))