term/{eshell,vterm}: remove already in * buffer check
Allows users to spawn additional eshell/vterm buffers, if they like.
This commit is contained in:
parent
aff5cc5b28
commit
2485123164
2 changed files with 0 additions and 4 deletions
|
@ -117,8 +117,6 @@
|
|||
(defun +eshell/here (&optional command)
|
||||
"Open eshell in the current buffer."
|
||||
(interactive "P")
|
||||
(when (eq major-mode 'eshell-mode)
|
||||
(user-error "Already in an eshell buffer"))
|
||||
(let ((buf (+eshell--unused-buffer)))
|
||||
(with-current-buffer (switch-to-buffer buf)
|
||||
(if (eq major-mode 'eshell-mode)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue