Fix incorrect uses of add-to-list
This commit is contained in:
parent
b84946318c
commit
3b85720c9c
6 changed files with 6 additions and 6 deletions
|
@ -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))
|
||||
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue