mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-12-23 10:34:07 +00:00
Comment change.
This commit is contained in:
parent
3ea1d2918f
commit
71207de2b6
@ -294,9 +294,10 @@ Then bury it, and return a suggested buffer to select next."
|
||||
(save-buffer buffer)))
|
||||
(server-buffer-done buffer)))))
|
||||
|
||||
;; If a server buffer is killed, release its client.
|
||||
;; I'm not sure this is really a good idea--do you want the client
|
||||
;; to proceed using whatever is on disk in that file?
|
||||
;; Ask before killing a server buffer.
|
||||
;; It was suggested to release its client instead,
|
||||
;; but I think that is dangerous--the client would proceed
|
||||
;; using whatever is on disk in that file. -- rms.
|
||||
(defun server-kill-buffer-query-function ()
|
||||
(or (not server-buffer-clients)
|
||||
(yes-or-no-p (format "Buffer `%s' still has clients; kill it? "
|
||||
|
Loading…
Reference in New Issue
Block a user