# HG changeset patch # User Richard M. Stallman # Date 1104504869 0 # Node ID d162faeebae498873d89dc0e1554af56aaa8b94e # Parent 3689cf45d8b0d9b0bdca2c1a5bfe8c97787d9acb (mixal-mode): Use mode-require-final-newline. diff -r 3689cf45d8b0 -r d162faeebae4 lisp/progmodes/mixal-mode.el --- 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))