summaryrefslogtreecommitdiff
path: root/tab-conf.el
diff options
context:
space:
mode:
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)