refactor(wpcarro/emacs): Remove unnecessary buffer fn in vterm-mgt
The call to `buffer-find-or-create` is unnecessary. Change-Id: Ieb959c35123186a29da1b7f0955ceb96c9e6dab3 Reviewed-on: https://cl.tvl.fyi/c/depot/+/4564 Reviewed-by: wpcarro <wpcarro@gmail.com> Autosubmit: wpcarro <wpcarro@gmail.com> Tested-by: BuildkiteCI
This commit is contained in:
parent
5159413681
commit
36844bc134
1 changed files with 4 additions and 5 deletions
|
@ -133,11 +133,10 @@ If for whatever reason, the state of `vterm-mgt--instances' is corrupted and
|
||||||
(interactive)
|
(interactive)
|
||||||
(vterm-mgt-reconcile-state)
|
(vterm-mgt-reconcile-state)
|
||||||
(switch-to-buffer
|
(switch-to-buffer
|
||||||
(buffer-find-or-create
|
|
||||||
(completing-read "Switch to vterm: "
|
(completing-read "Switch to vterm: "
|
||||||
(->> vterm-mgt--instances
|
(->> vterm-mgt--instances
|
||||||
cycle-to-list
|
cycle-to-list
|
||||||
(-map #'buffer-name))))))
|
(-map #'buffer-name)))))
|
||||||
|
|
||||||
(provide 'vterm-mgt)
|
(provide 'vterm-mgt)
|
||||||
;;; vterm-mgt.el ends here
|
;;; vterm-mgt.el ends here
|
||||||
|
|
Loading…
Reference in a new issue