Minor, general refactor
In some contexts, map-put is superior to add-to-list.
This commit is contained in:
parent
592d83a968
commit
947fe345c3
7 changed files with 10 additions and 12 deletions
|
@ -693,8 +693,7 @@ windows, switch to `doom-fallback-buffer'. Otherwise, delegate to original
|
|||
(memq (previous-buffer) (list buf 'nil)))
|
||||
(switch-to-buffer (doom-fallback-buffer)))
|
||||
(kill-buffer buf)))
|
||||
(t
|
||||
(funcall orig-fn)))))
|
||||
((funcall orig-fn)))))
|
||||
|
||||
|
||||
(defun doom|init-ui ()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue