diff options
| author | Richard M. Stallman | 2004-12-31 14:54:29 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 2004-12-31 14:54:29 +0000 |
| commit | 6c11795edc2b666ec3f14d01ce4cf1f848280bc3 (patch) | |
| tree | d034f95edf32e56917847d3debbc06033f671bd3 | |
| parent | 44825abfc9cc40afc37c714c0a9dfb89d0303c40 (diff) | |
| download | emacs-6c11795edc2b666ec3f14d01ce4cf1f848280bc3.tar.gz emacs-6c11795edc2b666ec3f14d01ce4cf1f848280bc3.zip | |
(mixal-mode): Use mode-require-final-newline.
| -rw-r--r-- | lisp/progmodes/mixal-mode.el | 5 |
1 files changed, 3 insertions, 2 deletions
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." | |||
| 1303 | (set (make-local-variable 'compile-command) (concat "mixasm -g " | 1303 | (set (make-local-variable 'compile-command) (concat "mixasm -g " |
| 1304 | buffer-file-name)) | 1304 | buffer-file-name)) |
| 1305 | ;; mixasm will do strange when there is no final newline, | 1305 | ;; mixasm will do strange when there is no final newline, |
| 1306 | ;; let emacs ensure that it is always there | 1306 | ;; so let Emacs ensure that it is always there |
| 1307 | (set (make-local-variable 'require-final-newline) t)) | 1307 | (set (make-local-variable 'require-final-newline) |
| 1308 | mode-require-final-newline)) | ||
| 1308 | 1309 | ||
| 1309 | ;;;###autoload | 1310 | ;;;###autoload |
| 1310 | (add-to-list 'auto-mode-alist '("\\.mixal\\'" . mixal-mode)) | 1311 | (add-to-list 'auto-mode-alist '("\\.mixal\\'" . mixal-mode)) |