bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#10982: documentation bug eval-after-load


From: Le Wang
Subject: bug#10982: documentation bug eval-after-load
Date: Sat, 10 Mar 2012 01:33:30 +0800

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

reply via email to

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