diff options
| author | Lars Ingebrigtsen | 2016-04-30 19:20:12 +0200 |
|---|---|---|
| committer | Lars Ingebrigtsen | 2016-04-30 19:20:12 +0200 |
| commit | 9392193be56eebdfac702a0bbb5e954088371c7a (patch) | |
| tree | 65ce8a90be60658b9e44fc8a879e7d78897a2ace /doc/lispref/loading.texi | |
| parent | 77c5f4554ebb3b7c7d49bc881e45a550f6c93987 (diff) | |
| download | emacs-9392193be56eebdfac702a0bbb5e954088371c7a.tar.gz emacs-9392193be56eebdfac702a0bbb5e954088371c7a.zip | |
Transform mentions of `eval-after-load' to `with-eval-after-load'
* doc/lispref/loading.texi (Hooks for Loading): Update text to
not mention `eval-after-load' (bug#20038).
Diffstat (limited to 'doc/lispref/loading.texi')
| -rw-r--r-- | doc/lispref/loading.texi | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/doc/lispref/loading.texi b/doc/lispref/loading.texi index 06900a49477..d2d38d7fb5e 100644 --- a/doc/lispref/loading.texi +++ b/doc/lispref/loading.texi | |||
| @@ -1089,11 +1089,12 @@ execution of the rest of @var{body}. | |||
| 1089 | @end defmac | 1089 | @end defmac |
| 1090 | 1090 | ||
| 1091 | Normally, well-designed Lisp programs should not use | 1091 | Normally, well-designed Lisp programs should not use |
| 1092 | @code{eval-after-load}. If you need to examine and set the variables | 1092 | @code{with-eval-after-load}. If you need to examine and set the |
| 1093 | defined in another library (those meant for outside use), you can do | 1093 | variables defined in another library (those meant for outside use), |
| 1094 | it immediately---there is no need to wait until the library is loaded. | 1094 | you can do it immediately---there is no need to wait until the library |
| 1095 | If you need to call functions defined by that library, you should load | 1095 | is loaded. If you need to call functions defined by that library, you |
| 1096 | the library, preferably with @code{require} (@pxref{Named Features}). | 1096 | should load the library, preferably with @code{require} (@pxref{Named |
| 1097 | Features}). | ||
| 1097 | 1098 | ||
| 1098 | @node Dynamic Modules | 1099 | @node Dynamic Modules |
| 1099 | @section Emacs Dynamic Modules | 1100 | @section Emacs Dynamic Modules |