From 405efbc6c08d68c876ff8a0964c1fdfdfae57583 Mon Sep 17 00:00:00 2001 From: William Carroll Date: Thu, 4 Aug 2022 14:50:46 -0700 Subject: 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 Autosubmit: wpcarro Tested-by: BuildkiteCI --- users/wpcarro/emacs/pkgs/vterm-mgt/vterm-mgt.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'users/wpcarro/emacs') 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. -- cgit 1.4.1