emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: A few questions about desktop.el


From: Juanma Barranquero
Subject: Re: A few questions about desktop.el
Date: Tue, 2 May 2006 17:14:52 +0200

On 5/2/06, Stuart D. Herring <address@hidden> wrote:

It seems to me that
(add-hook 'desktop-not-loaded-hook (lambda () (setq desktop-save nil)))
...would be cumbersome (especially for non-Lispy users).

You could always do M-x customize-variable desktop-not-loaded-hook,
couldn't you?

Is there any
other use for such a hook (maybe `kill-emacs'? ;)

Certainly, running an external app (likely gnuclient) to bring the
other Emacs instance to focus and then killing the current one would
be my first use, yes.

Or instead to ask,
when the user chooses to honor a lock, whether to then disable Desktop?

I hate being asked (by a program :-) about things that could be automated.

--
                   /L/e/k/t/u




reply via email to

[Prev in Thread] Current Thread [Next in Thread]