fix(wpcarro/emacs): Properly wrap vterm buffers in earmuffs
Conventions are conventions... Change-Id: I1c9a0203e70cb9c762537353e8b640973dd93b26 Reviewed-on: https://cl.tvl.fyi/c/depot/+/6038 Reviewed-by: wpcarro <wpcarro@gmail.com> Autosubmit: wpcarro <wpcarro@gmail.com> Tested-by: BuildkiteCI
This commit is contained in:
parent
3ebd71dfa2
commit
405efbc6c0
1 changed files with 2 additions and 2 deletions
|
@ -111,11 +111,11 @@ instance."
|
|||
(switch-to-buffer (cycle-current vterm-mgt--instances))))))
|
||||
|
||||
(defun vterm-mgt-rename-buffer (name)
|
||||
"Rename the current buffer ensuring that its NAME is wrapped in *vterm*<...>.
|
||||
"Rename the current buffer ensuring that its NAME is wrapped in *vterm<...>*.
|
||||
This function should be called from a buffer running vterm."
|
||||
(interactive "SRename vterm buffer: ")
|
||||
(vterm-mgt--assert-vterm-buffer)
|
||||
(rename-buffer (format "*vterm*<%s>" name)))
|
||||
(rename-buffer (format "*vterm<%s>*" name)))
|
||||
|
||||
(defun vterm-mgt-reconcile-state ()
|
||||
"Fill `vterm-mgt--instances' with the existing vterm buffers.
|
||||
|
|
Loading…
Reference in a new issue