From: Mark Wooding Date: Tue, 24 May 2016 09:29:51 +0000 (+0100) Subject: el/dot-emacs.el: Unelectrify `;' in `asm-mode'. X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/profile/commitdiff_plain/b90c2a2c28d2429807088d9c866c73c06bf516c5?ds=inline;hp=-c el/dot-emacs.el: Unelectrify `;' in `asm-mode'. It's really annoying when `;' isn't the comment character, which it mostly isn't when writing for Gas. --- b90c2a2c28d2429807088d9c866c73c06bf516c5 diff --git a/el/dot-emacs.el b/el/dot-emacs.el index 0b715da..2df8513 100644 --- 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 ()