diff options
-rw-r--r-- | emacs/custom/my-edit.el | 4 | ||||
-rw-r--r-- | emacs/custom/my-prog.el | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/emacs/custom/my-edit.el b/emacs/custom/my-edit.el index fc148cc..bff7e04 100644 --- a/emacs/custom/my-edit.el +++ b/emacs/custom/my-edit.el @@ -16,10 +16,6 @@ (dolist (hook '(prog-mode-hook text-mode-hook conf-mode-hook outline-mode-hook)) (add-hook hook 'my/whitespace-setup)) -;; turn on `electric-pair-mode' on `prog-mode' and `conf-mode-hook' -(dolist (hook '(prog-mode-hook conf-mode-hook)) - (add-hook hook 'electric-pair-mode)) - (setq show-paren-delay 0 show-paren-highlight-openparen t show-paren-when-point-inside-paren t diff --git a/emacs/custom/my-prog.el b/emacs/custom/my-prog.el index 8c7925d..f91f116 100644 --- a/emacs/custom/my-prog.el +++ b/emacs/custom/my-prog.el @@ -7,6 +7,10 @@ (customize-set-variable 'Man-notify-method 'aggressive) (customize-set-variable 'Man-fontify-manpage-flag t) +;; turn on `electric-pair-mode' on `prog-mode' and `conf-mode-hook' +(dolist (hook '(prog-mode-hook conf-mode-hook)) + (add-hook hook 'electric-pair-mode)) + ;; Skip over warnings and info messages in compilation (customize-set-variable 'compilation-skip-threshold 2) ;; Don't freeze when process reads from stdin |