]> git.eshelyaron.com Git - emacs.git/commitdiff
(mixal-mode): Use mode-require-final-newline.
authorRichard M. Stallman <rms@gnu.org>
Fri, 31 Dec 2004 14:54:29 +0000 (14:54 +0000)
committerRichard M. Stallman <rms@gnu.org>
Fri, 31 Dec 2004 14:54:29 +0000 (14:54 +0000)
lisp/progmodes/mixal-mode.el

index 72a0f2e9105f13a67e59d7e70763bb55969d8ac3..1fbbabcf67e022b722e3438d0f3c32c456f1506f 100644 (file)
@@ -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))