diff options
author | William Carroll <wpcarro@gmail.com> | 2022-08-04T21·50-0700 |
---|---|---|
committer | clbot <clbot@tvl.fyi> | 2022-08-04T21·55+0000 |
commit | 405efbc6c08d68c876ff8a0964c1fdfdfae57583 (patch) | |
tree | 96d9c344bf768ce6ab8181554bc2aca151a835b1 /users/wpcarro/emacs/pkgs/vterm-mgt/vterm-mgt.el | |
parent | 3ebd71dfa2873a6aff6259ed74b2abd80d93de97 (diff) |
fix(wpcarro/emacs): Properly wrap vterm buffers in earmuffs r/4382
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
Diffstat (limited to 'users/wpcarro/emacs/pkgs/vterm-mgt/vterm-mgt.el')
-rw-r--r-- | users/wpcarro/emacs/pkgs/vterm-mgt/vterm-mgt.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/users/wpcarro/emacs/pkgs/vterm-mgt/vterm-mgt.el b/users/wpcarro/emacs/pkgs/vterm-mgt/vterm-mgt.el index fe161fc6fbff..d61b76ab2c91 100644 --- a/users/wpcarro/emacs/pkgs/vterm-mgt/vterm-mgt.el +++ b/users/wpcarro/emacs/pkgs/vterm-mgt/vterm-mgt.el @@ -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. |