emacs-devel
[Top][All Lists]
Advanced

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

Re: desktop


From: Alex Schroeder
Subject: Re: desktop
Date: Sun, 24 Aug 2003 21:59:36 +0200
User-agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (gnu/linux)

Lars Hansen <address@hidden> writes:

> Actually only the second line is needed. During startup default.el is
> loaded before after-init-hook is called, so there is no point in
> loading default.el manually.
> 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.

Alex.
-- 
http://www.emacswiki.org/alex/
There is no substitute for experience.





reply via email to

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