unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* server-kill-buffer-query-function and indirect buffers
@ 2007-12-13 23:58 Lennart Borgman (gmail)
  0 siblings, 0 replies; only message in thread
From: Lennart Borgman (gmail) @ 2007-12-13 23:58 UTC (permalink / raw)
  To: Emacs Devel

I believe a check if a buffer is indirect should be made (inserted below):

(defun server-kill-buffer-query-function ()
   (or (not server-buffer-clients)
       (buffer-base-buffer)
       (yes-or-no-p (format "Buffer `%s' still has clients; kill it? "
                            (buffer-name (current-buffer))))))

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-12-13 23:58 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-12-13 23:58 server-kill-buffer-query-function and indirect buffers Lennart Borgman (gmail)

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).