GNU bug report logs - #15888
24.3.50; Eval-after-load eval'ed twice

Previous Next

Package: org-mode;

Reported by: "Sebastien Vauban" <sva-news <at> mygooglest.com>

Date: Wed, 13 Nov 2013 21:29:01 UTC

Severity: normal

Full log


Message #41 received at 15888 <at> debbugs.gnu.org (full text, mbox):

From: Bastien <bzg <at> gnu.org>
To: Glenn Morris <rgm <at> gnu.org>
Cc: Sebastien Vauban <sva-news <at> mygooglest.com>, michael_heerdegen <at> web.de,
 15888 <at> debbugs.gnu.org
Subject: Re: bug#15888: 24.3.50; Eval-after-load eval'ed twice
Date: Fri, 15 Nov 2013 07:04:02 +0100
Glenn Morris <rgm <at> gnu.org> writes:

> "Sebastien Vauban" wrote:
>
>> Where is the black magic?
>
> Somewhere in the labyrinthine depths of Org, so I suggest you ask the
> Org maintainers to figure out why:
>
> emacs -Q -L /path/to/git/org-mode/lisp
> (with-eval-after-load "org"
>   (message "Eval this when Org is loaded")
>   (sit-for 3)
>   (message ""))
> (require 'org)
>
> ends up loading org twice.

I fixed this by removing any use of `org-autoload', which looked like
code smell to me.

This is in Org 8.2.3c, which I just released.

Sébastien, can you confirmed this?

-- 
 Bastien




This bug report was last modified 5 years and 26 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.