Minor, general refactor

In some contexts, map-put is superior to add-to-list.
This commit is contained in:
Henrik Lissner 2018-05-29 15:34:12 +02:00
parent 592d83a968
commit 947fe345c3
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
7 changed files with 10 additions and 12 deletions

View file

@ -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 ()