Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
6c11795e
Commit
6c11795e
authored
Dec 31, 2004
by
Richard M. Stallman
Browse files
(mixal-mode): Use mode-require-final-newline.
parent
44825abf
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
lisp/progmodes/mixal-mode.el
lisp/progmodes/mixal-mode.el
+3
-2
No files found.
lisp/progmodes/mixal-mode.el
View file @
6c11795e
...
...
@@ -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
))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment