GNU bug report logs -
#10982
documentation bug eval-after-load
Previous Next
Reported by: Le Wang <l26wang <at> gmail.com>
Date: Fri, 9 Mar 2012 17:36:01 UTC
Severity: minor
Fixed in version 24.1
Done: Glenn Morris <rgm <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Hi on this page:
http://www.gnu.org/software/emacs/manual/html_node/elisp/Hooks-for-Loading.html#Hooks-for-Loading
> library can also be a feature (i.e. a symbol), in which case form is
evaluated when (provide library) is called.
Then on this page
http://www.gnu.org/software/emacs/manual/html_node/elisp/Named-Features.html
> This function announces that feature is now loaded, or being loaded, into
the current Emacs session. This means that the facilities associated with
feature are or will be available for other Lisp programs.
So two issue come up: should symbol even be supported by `eval-after-load`
if the feature might not be finished loading? If it has to be kept for
backward compatibility, documentation should explicitly say don't use
symbol because the feature might not be finished loading.
--
Le
[Message part 2 (text/html, inline)]
This bug report was last modified 13 years and 73 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.