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:
William Carroll 2021-12-24 11:53:53 -05:00 committed by clbot
parent 5159413681
commit 36844bc134

View file

@ -133,11 +133,10 @@ If for whatever reason, the state of `vterm-mgt--instances' is corrupted and
(interactive)
(vterm-mgt-reconcile-state)
(switch-to-buffer
(buffer-find-or-create
(completing-read "Switch to vterm: "
(->> vterm-mgt--instances
cycle-to-list
(-map #'buffer-name))))))
(-map #'buffer-name)))))
(provide 'vterm-mgt)
;;; vterm-mgt.el ends here