summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lisp/server.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/server.el b/lisp/server.el
index 75655093542..efa35ac6800 100644
--- a/lisp/server.el
+++ b/lisp/server.el
@@ -290,7 +290,8 @@ Then bury it, and return a suggested buffer to select next."
(function
(lambda ()
(or (not server-buffer-clients)
- (yes-or-no-p "Buffer `%s' still has clients; kill it? ")))))
+ (yes-or-no-p (format "Buffer `%s' still has clients; kill it? "
+ (buffer-name (current-buffer))))))))
(add-hook 'kill-emacs-query-functions
(function