mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
Replace kill-this-buffer with kill-current-buffer
As per the documentation for kill-this-buffer, it should only be invoked from the menu and behaves unpredictably when invoked programmatically.
This commit is contained in:
@ -240,7 +240,7 @@ delete."
|
||||
(unless (eq major-mode 'eshell-mode)
|
||||
(user-error "Not in an eshell buffer"))
|
||||
(let ((+eshell-kill-window-on-exit t))
|
||||
(kill-this-buffer)))
|
||||
(kill-current-buffer)))
|
||||
|
||||
|
||||
;;
|
||||
|
Reference in New Issue
Block a user