[Top][All Lists]

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

Re: desktop

From: Lars Hansen
Subject: Re: desktop
Date: Mon, 25 Aug 2003 08:03:18 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.0) Gecko/20020623 Debian/1.0.0-0.woody.1

So this is correct:

    (setq desktop-enable t)

This is probably not correct, since setting a variable will not load
a file.  *Customizing* this variable will store extra information in
the .emacs file which will then load desktop.el.  But for the
non-custom solution, I think the best thing would be

(desktop-mode 1)

And desktop-mode is an autoloaded global minor mode from desktop.el
which also sets desktop-enable to t when active.

Yes, you are right.
So until I have finished implementing desktop-save-mode, it should be

   (require 'desktop)
   (setq desktop-enable t)

reply via email to

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