[Misc] In case eproject gets loaded, disable it for message-mode

This commit is contained in:
Daniel - 2019-09-15 11:22:21 +02:00
parent 00eb2ba792
commit 3422bb7e46
No known key found for this signature in database
GPG Key ID: 1C7071A75BB72D64
1 changed files with 9 additions and 0 deletions

View File

@ -2565,6 +2565,15 @@ With given ARG, display files in `db/important-document-path."
(add-to-list 'electric-pair-pairs '(?„ . ?“))
(add-to-list 'electric-pair-text-pairs '(?„ . ?“))))
(use-package eproject
:defer t
:config (progn
(message "Loaded eproject … done")
(with-eval-after-load 'message
(add-hook 'message-setup-hook
(lambda ()
(eproject-mode -1))))))
(use-package expand-region
:commands (er/expand-region))