Mercurial > emacs
changeset 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 | 3689cf45d8b0 |
children | 376983f62602 |
files | lisp/progmodes/mixal-mode.el |
diffstat | 1 files changed, 3 insertions(+), 2 deletions(-) [+] |
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))