mirror of
https://github.com/doomemacs/doomemacs
synced 2025-09-04 15:03:42 -05:00
General cleanup + refactor
This commit is contained in:
@@ -71,8 +71,7 @@
|
||||
(defun doom|dont-kill-scratch-buffer ()
|
||||
(if (not (eq (buffer-name) "*scratch*"))
|
||||
t
|
||||
(bury-buffer)
|
||||
nil))
|
||||
(ignore (bury-buffer))))
|
||||
(add-hook 'kill-buffer-query-functions 'doom|dont-kill-scratch-buffer)
|
||||
|
||||
;; enabled by default in Emacs 25+. No thanks.
|
||||
|
Reference in New Issue
Block a user