chiark / gitweb /
dot-emacs: Don't un-electrify characters in mdw-misc-mode-config.
authorMark Wooding <mdw@distorted.org.uk>
Wed, 7 May 2008 17:32:07 +0000 (18:32 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Wed, 7 May 2008 17:32:07 +0000 (18:32 +0100)
I /want/ ?# to go back to the start of the line in C mode, I think.
(It doesn't, with the configuration in its current state; I still
need to think about this.  But at least the option is now there again.)

dot-emacs.el

index 0d2e85e2a93648cc70b52f60ff12c33ac0840449..789de88dfb90c52606c38c354d09e5f8b64789cc 100644 (file)
@@ -556,10 +556,6 @@ (defun mdw-misc-mode-config ()
             (t
              (local-set-key "\C-m" 'newline-and-indent))))
   (local-set-key [C-return] 'newline)
             (t
              (local-set-key "\C-m" 'newline-and-indent))))
   (local-set-key [C-return] 'newline)
-  (or (eq major-mode 'asm-mode)
-      (local-set-key [?\;] 'self-insert-command))
-  (local-set-key [?\#] 'self-insert-command)
-  (local-set-key [?\"] 'self-insert-command)
   (setq comment-column 40)
   (auto-fill-mode 1)
   (setq fill-column 77)
   (setq comment-column 40)
   (auto-fill-mode 1)
   (setq fill-column 77)