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:
Daniel - 2020-02-20 21:08:53 +01:00
parent bec4bc13a2
commit 15f3a2d145
No known key found for this signature in database
GPG Key ID: 1C7071A75BB72D64
1 changed files with 1 additions and 1 deletions

View File

@ -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)