chiark / gitweb /
el/dot-emacs.el: Unelectrify `;' in `asm-mode'.
authorMark Wooding <mdw@distorted.org.uk>
Tue, 24 May 2016 09:29:51 +0000 (10:29 +0100)
committerMark 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

index 0b715da5fc0aa2f5762250d84769e3f4ecaa4dff..2df85134c1e22cbb6da40eceeae901029f8081c3 100644 (file)
@@ -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 ()