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 0b715da..2df8513 100644 (file)
@@ -2589,6 +2589,7 @@ strip numbers instead."
   (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 ()