unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: help-gnu-emacs@gnu.org
Subject: Re: .emacs (load {user-init-file, custom-file} causes duplicate load of both
Date: Thu, 11 Nov 2010 20:26:06 +0200	[thread overview]
Message-ID: <8339r7g1j5.fsf@gnu.org> (raw)
In-Reply-To: <ibgjm0$crp$1@dough.gmane.org>

> From: Larry Evans <cppljevans@suddenlink.net>
> Date: Thu, 11 Nov 2010 05:22:39 -0600
> 
> "Current desktop was not loaded from a file.  Overwrite this desktop file? "
> 
> from function desktop-save in desktop.el.gz.  A trace in that function
> showed:
> 
>   desktop-file-modtime
> 
> was nil.  Further search in that file showed the only place that was
> set was in function desktop-read.  So, in .emacs I put:
> 
>   (desktop-read)
> 
> However, that didn't work.

Didn't work how?

Having `(desktop-read)' in your ~/.emacs _is_ the right way of
activating Desktop.



  parent reply	other threads:[~2010-11-11 18:26 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-11  1:14 .emacs (load {user-init-file, custom-file} causes duplicate load of both Larry Evans
2010-11-11  2:28 ` PJ Weisberg
2010-11-11  3:28   ` Larry Evans
2010-11-11  7:45 ` Eli Zaretskii
2010-11-11 11:22   ` Larry Evans
2010-11-11 12:09     ` Larry Evans
2010-11-11 14:32       ` Larry Evans
2010-11-11 18:26     ` Eli Zaretskii [this message]
2010-11-11 18:44       ` Larry Evans
2010-11-13 12:43         ` Howto avoid "Overwrite desktop file" question. (was " Larry Evans

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8339r7g1j5.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).