mirror of
https://github.com/doomemacs/doomemacs.git
synced 2026-03-21 05:50:52 -07:00
Merge bae17023d6 into ebf77f71c4
This commit is contained in:
commit
ef7fbbfe19
1 changed files with 3 additions and 0 deletions
|
|
@ -34,6 +34,9 @@ Returns the vterm buffer."
|
|||
buffer-name)
|
||||
return buf)
|
||||
(get-buffer-create buffer-name))))
|
||||
;; Explicitly require vterm before `with-current-buffer', since
|
||||
;; loading vterm can change the current buffer
|
||||
(require 'vterm)
|
||||
(with-current-buffer buffer
|
||||
(unless (eq major-mode 'vterm-mode)
|
||||
(vterm-mode))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue