mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
Less 'nowhere to go' spam on doom/kill-this-buffer
This commit is contained in:
@ -245,7 +245,7 @@ regex PATTERN. Returns the number of killed buffers."
|
||||
(defun doom/kill-this-buffer ()
|
||||
"Use `doom-kill-buffer' on the current buffer."
|
||||
(interactive)
|
||||
(when (and (doom-kill-buffer) (called-interactively-p 'interactive))
|
||||
(when (and (not (doom-kill-buffer)) (called-interactively-p 'interactive))
|
||||
(message "Nowhere left to go!")))
|
||||
|
||||
;;;###autoload
|
||||
|
Reference in New Issue
Block a user