diff options
author | Lars Ingebrigtsen <larsi@gnus.org> | 2016-04-30 19:20:12 +0200 |
---|---|---|
committer | Lars Ingebrigtsen <larsi@gnus.org> | 2016-04-30 19:20:12 +0200 |
commit | 9392193be56eebdfac702a0bbb5e954088371c7a (patch) | |
tree | 65ce8a90be60658b9e44fc8a879e7d78897a2ace /doc/emacs | |
parent | 77c5f4554ebb3b7c7d49bc881e45a550f6c93987 (diff) | |
download | emacs-9392193be56eebdfac702a0bbb5e954088371c7a.tar.gz emacs-9392193be56eebdfac702a0bbb5e954088371c7a.tar.bz2 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/emacs')
-rw-r--r-- | doc/emacs/text.texi | 3 | ||||
-rw-r--r-- | doc/emacs/trouble.texi | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/doc/emacs/text.texi b/doc/emacs/text.texi index e19925025d7..66f01b495d1 100644 --- a/doc/emacs/text.texi +++ b/doc/emacs/text.texi @@ -1302,7 +1302,8 @@ it in order for this to take effect. automatically by putting the following in your init file: @example -(eval-after-load "outline" '(require 'foldout)) +(with-eval-after-load "outline" + (require 'foldout)) @end example @node Org Mode diff --git a/doc/emacs/trouble.texi b/doc/emacs/trouble.texi index bd347b076d4..f4e3393ea9d 100644 --- a/doc/emacs/trouble.texi +++ b/doc/emacs/trouble.texi @@ -1362,7 +1362,7 @@ Appendix, elisp, Emacs Lisp Reference}. @end ifclear @item -Avoid using @code{defadvice} or @code{eval-after-load} for Lisp code +Avoid using @code{defadvice} or @code{with-eval-after-load} for Lisp code to be included in Emacs. @item |