unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* kill-emacs-query-functions and emacsclient?
@ 2010-05-11  8:12 michael
  0 siblings, 0 replies; only message in thread
From: michael @ 2010-05-11  8:12 UTC (permalink / raw)
  To: help-gnu-emacs

Hi,

I use

(add-hook 'kill-emacs-query-functions
	  'some-user-interacting-function)

in my .emacs to execute a function before exiting emacs which prompts
some questions in the minibuffer ("some-user-interactiong-function").
This works well for emacs.

Now I try to use emacs23 in daemon-mode and emacsclient. Is it
possible to execute "some-user-interacting-function" automatically
before closing an emacsclient frame (by C-x C-c or by the window
manager) ?

Thanks
Michael


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

only message in thread, other threads:[~2010-05-11  8:12 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-05-11  8:12 kill-emacs-query-functions and emacsclient? michael

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).