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

@ -34,5 +34,5 @@ trigger electric indentation."
(backward-word)
(looking-at-p
(concat "\\<" (regexp-opt doom-electric-indent-words))))))
(add-to-list 'electric-indent-functions #'+electric-indent|char))
(add-to-list 'electric-indent-functions #'+electric-indent|char nil #'eq))

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)

View file

@ -11,4 +11,4 @@
;; Consider term buffers real
(defun +term-p (buf)
(eq (buffer-local-value 'major-mode buf) 'term-mode))
(add-to-list 'doom-real-buffer-functions #'+term-p #'eq))
(add-to-list 'doom-real-buffer-functions #'+term-p nil #'eq))