all repos — nixfiles @ 7dd052f897b8cc1ef85c78a9570f6ba2cc82148e

System and user configuration, managed by nix and home-manager

Emacs: Disable autopair in c-mode-common-hook

Superfluous with cedit
Alan Pearce alan@alanpearce.co.uk
Sun, 27 Jul 2014 16:55:43 +0100
commit

7dd052f897b8cc1ef85c78a9570f6ba2cc82148e

parent

6c8782b1bbd6200a3dcde9219bf0330090dd8b3e

1 files changed, 1 insertions(+), 0 deletions(-)

jump to
M tag-emacs/emacs.d/init.eltag-emacs/emacs.d/init.el
@@ -918,6 +918,7 @@ (defun autopair-off ()             (autopair-mode -1))
           (add-hook 'web-mode-hook #'autopair-off)
           (add-hook 'lisp-mode-common-hook #'autopair-off)
+          (add-hook 'c-mode-common-hook #'autopair-off)
           (setq autopair-blink nil
                 autopair-skip-whitespace nil)))