diff lisp/progmodes/mixal-mode.el @ 59247:d162faeebae4

(mixal-mode): Use mode-require-final-newline.
author Richard M. Stallman <rms@gnu.org>
date Fri, 31 Dec 2004 14:54:29 +0000
parents 695cf19ef79e
children 18a818a2ee7c 95879cc1ed20
line wrap: on
line diff
--- a/lisp/progmodes/mixal-mode.el	Fri Dec 31 14:54:11 2004 +0000
+++ b/lisp/progmodes/mixal-mode.el	Fri Dec 31 14:54:29 2004 +0000
@@ -1303,8 +1303,9 @@
   (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))