all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#10982: documentation bug eval-after-load
@ 2012-03-09 17:33 Le Wang
  2012-03-09 17:40 ` Glenn Morris
  0 siblings, 1 reply; 3+ messages in thread
From: Le Wang @ 2012-03-09 17:33 UTC (permalink / raw)
  To: 10982

[-- Attachment #1: Type: text/plain, Size: 822 bytes --]

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

[-- Attachment #2: Type: text/html, Size: 1205 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-03-09 18:01 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-03-09 17:33 bug#10982: documentation bug eval-after-load Le Wang
2012-03-09 17:40 ` Glenn Morris
2012-03-09 18:01   ` Le Wang

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.