cl-pushnew => push

Now that doom//byte-compile and doom//reload-autoloads always run in an
isolated Emacs session, there is little need to ensure idempotency of
the current session's state.
This commit is contained in:
Henrik Lissner 2017-11-10 00:19:04 +01:00
parent 79cf78d1c6
commit a24e22cf57
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
5 changed files with 12 additions and 13 deletions

View file

@ -28,8 +28,8 @@
(make-directory elfeed-db-directory t)
;; Ensure elfeed buffers are treated as real
(cl-pushnew (lambda (buf) (string-match-p "^\\*elfeed" (buffer-name buf)))
doom-real-buffer-functions)
(push (lambda (buf) (string-match-p "^\\*elfeed" (buffer-name buf)))
doom-real-buffer-functions)
;; Enhance readability of a post
(add-hook 'elfeed-show-mode-hook #'+rss|elfeed-wrap)