From 5f61771063f35f5cd6492708d89eb220e4067f6e Mon Sep 17 00:00:00 2001 From: JSDurand Date: Sat, 16 Jan 2021 22:32:26 +0800 Subject: Some QoL changes * basic.el (set-mark-command-repeat-pop): Repeat poping * tab-conf.el (durand-switch-tab-dwim): Show the default tab to close in the prompt. --- tab-conf.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tab-conf.el') diff --git a/tab-conf.el b/tab-conf.el index eb58fe1..5f9cf83 100644 --- a/tab-conf.el +++ b/tab-conf.el @@ -57,7 +57,8 @@ display in the new tab." (cdr (assoc 'name (cadr tabs)))))) ((equal arg (cons 16 nil)) (tab-bar-close-tab-by-name - (completing-read "Close tab: " + (completing-read (format "Close tab (default %s) : " + (cdr (assoc 'name (car tabs)))) (mapcar (lambda (tab) (cdr (assoc 'name tab))) tabs) -- cgit v1.2.3-18-g5258