Commit cbd8d2d8b537

Vincent Demeester <vincent@sbr.pm>
2021-08-11 15:06:25
tools/emacs: rename tab-bar completion
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
1 parent 13632ec
Changed files (1)
tools
tools/emacs/config/config-appearance.el
@@ -123,7 +123,7 @@ Ignores `ARGS'."
                                           (projectile-project-name)))
      (t (tab-bar-tab-name-current-with-count))))
 
-  (defun vde/icomplete-tab-bar-tab-dwim ()
+  (defun vde/complete-tab-bar-tab-dwim ()
     "Do-What-I-Mean function for getting to a `tab-bar-mode' tab.
 If no other tab exists, create one and switch to it.  If there is
 one other tab (so two in total) switch to it without further
@@ -140,7 +140,7 @@ questions.  Else use completion to select the tab to switch to."
              (tab-bar-switch-to-tab
               (completing-read "Select tab: " tabs nil t))))))
 
-  :bind (("C-x t t" . vde/icomplete-tab-bar-tab-dwim)
+  :bind (("C-x t t" . vde/complete-tab-bar-tab-dwim)
          ("C-x t s" . tab-switcher)))
 
 (use-package moody