Turn on abbrev-mode by default only text buffers
We don't need that for programming, and it interferes with certain mode configurations, e.g., cperl-mode.
This commit is contained in:
parent
bec4bc13a2
commit
15f3a2d145
2
init.el
2
init.el
|
@ -142,6 +142,7 @@
|
|||
(add-hook 'prog-mode-hook 'electric-indent-local-mode))
|
||||
|
||||
(add-hook 'text-mode-hook 'turn-on-auto-fill)
|
||||
(add-hook 'text-mode-hook 'abbrev-mode)
|
||||
|
||||
;; Auto-Modes
|
||||
|
||||
|
@ -484,7 +485,6 @@
|
|||
(use-package abbrev
|
||||
:defer t
|
||||
:init (progn
|
||||
(setq-default abbrev-mode t)
|
||||
(setq save-abbrevs 'silently))
|
||||
:diminish abbrev-mode)
|
||||
|
||||
|
|
Loading…
Reference in New Issue