summaryrefslogtreecommitdiff
path: root/tab-conf.el
diff options
context:
space:
mode:
authorJSDurand <mmemmew@gmail.com>2021-01-16 22:32:26 +0800
committerJSDurand <mmemmew@gmail.com>2021-01-16 22:32:26 +0800
commit5f61771063f35f5cd6492708d89eb220e4067f6e (patch)
tree0083ad3c09a5b5ade92363f7aec15a33da11d85f /tab-conf.el
parent013253308671031a37eb904d809cd9823cecd14d (diff)
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.
Diffstat (limited to 'tab-conf.el')
-rw-r--r--tab-conf.el3
1 files changed, 2 insertions, 1 deletions
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)