General, minor refactor

+ Group hooks with add-hook!
+ Sharpquote elfeed call
+ Extract elfeed buffer detector into function and ensure idempotency of
  doom-real-buffer-functions
This commit is contained in:
Henrik Lissner 2018-06-03 15:51:59 +02:00
parent b81ac61d84
commit 32a2a2b64d
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
4 changed files with 7 additions and 6 deletions

View file

@ -131,5 +131,5 @@ environment variables."
;;
(when (featurep! :feature evil +everywhere)
(add-hook 'anaconda-mode-hook #'evil-normalize-keymaps)
(add-hook 'nose-mode-hook #'evil-normalize-keymaps))
(add-hook! '(anaconda-mode-hook nose-mode-hook)
#'evil-normalize-keymaps))