chiark
/
gitweb
/
~mdw
/
profile
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a52bc3c
)
el/dot-emacs.el: Unelectrify `;' in `asm-mode'.
author
Mark Wooding
<mdw@distorted.org.uk>
Tue, 24 May 2016 09:29:51 +0000
(10:29 +0100)
committer
Mark Wooding
<mdw@distorted.org.uk>
Tue, 24 May 2016 09:32:19 +0000
(10:32 +0100)
It's really annoying when `;' isn't the comment character, which it
mostly isn't when writing for Gas.
el/dot-emacs.el
patch
|
blob
|
blame
|
history
diff --git
a/el/dot-emacs.el
b/el/dot-emacs.el
index 0b715da5fc0aa2f5762250d84769e3f4ecaa4dff..2df85134c1e22cbb6da40eceeae901029f8081c3 100644
(file)
--- a/
el/dot-emacs.el
+++ b/
el/dot-emacs.el
@@
-2589,6
+2589,7
@@
(defun mdw-fontify-asm ()
(modify-syntax-entry ?. "w")
(modify-syntax-entry ?\n ">")
(setf fill-prefix nil)
+ (local-set-key ";" 'self-insert-command)
(mdw-standard-fill-prefix "\\([ \t]*;+[ \t]*\\)"))
(defun mdw-asm-set-comment ()