mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
Minor, general refactor
In some contexts, map-put is superior to add-to-list.
This commit is contained in:
@ -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 ()
|
||||
|
Reference in New Issue
Block a user