aboutsummaryrefslogtreecommitdiff
path: root/emacs/.emacs.d/init/ycp-editing.el
diff options
context:
space:
mode:
Diffstat (limited to 'emacs/.emacs.d/init/ycp-editing.el')
-rw-r--r--emacs/.emacs.d/init/ycp-editing.el3
1 files changed, 1 insertions, 2 deletions
diff --git a/emacs/.emacs.d/init/ycp-editing.el b/emacs/.emacs.d/init/ycp-editing.el
index 4bdeb32..5ed3eca 100644
--- a/emacs/.emacs.d/init/ycp-editing.el
+++ b/emacs/.emacs.d/init/ycp-editing.el
@@ -72,6 +72,7 @@
"<C-M-backspace>" #'backward-kill-sexp
)
(electric-pair-mode)
+ (my-add-hooks #'my-non-special-modes-setup '(text-mode-hook prog-mode-hook))
)
(setq viper-mode nil)
@@ -132,8 +133,6 @@
(add-hook 'text-mode-hook #'turn-on-auto-fill)
-(my-add-hooks #'my-non-special-modes-setup '(text-mode-hook prog-mode-hook))
-
(add-to-list
'auto-mode-alist
'("\\(README\\|CHANGELOG\\|COPYING\\|LICENSE\\)\\'" . text-mode))