Fix incorrect uses of add-to-list

This commit is contained in:
Henrik Lissner 2018-05-28 12:26:03 +02:00
parent b84946318c
commit 3b85720c9c
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
6 changed files with 6 additions and 6 deletions

View file

@ -31,7 +31,7 @@
;; Consider eshell buffers real
(defun +eshell-p (buf)
(eq (buffer-local-value 'major-mode buf) 'eshell-mode))
(add-to-list 'doom-real-buffer-functions #'+eshell-p #'eq)
(add-to-list 'doom-real-buffer-functions #'+eshell-p nil #'eq)
;; Keep track of open eshell buffers
(add-hook 'eshell-mode-hook #'+eshell|init)