summaryrefslogtreecommitdiff
path: root/doc/emacs/rmail.texi
diff options
context:
space:
mode:
authorChong Yidong <cyd@gnu.org>2011-10-19 20:41:15 -0400
committerChong Yidong <cyd@gnu.org>2011-10-19 20:41:15 -0400
commit6e317956b7dda5a9460937b5edc7a322c57c3804 (patch)
tree69476cc2649d1b90a167a792bc42850629d30ce4 /doc/emacs/rmail.texi
parentac6c8639bdb115cf57c65a383b4564aa98505389 (diff)
downloademacs-6e317956b7dda5a9460937b5edc7a322c57c3804.tar.gz
Adapt to new minor mode function behavior in manual examples.
* doc/emacs/custom.texi (Hooks, Init Examples): * doc/emacs/display.texi (Font Lock): * doc/emacs/fixit.texi (Spelling): * doc/emacs/rmail.texi (Rmail Display): Minor mode function with no arg now enables it. * doc/emacs/fixit.texi (Spelling): Fix description of inline completion.
Diffstat (limited to 'doc/emacs/rmail.texi')
-rw-r--r--doc/emacs/rmail.texi2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/emacs/rmail.texi b/doc/emacs/rmail.texi
index b894d01b9bb..9e30b657284 100644
--- a/doc/emacs/rmail.texi
+++ b/doc/emacs/rmail.texi
@@ -1198,7 +1198,7 @@ Address mode:
@c FIXME goto-addr.el commentary says to use goto-address instead.
@smallexample
-(add-hook 'rmail-show-message-hook (lambda () (goto-address-mode 1)))
+(add-hook 'rmail-show-message-hook 'goto-address-mode)
@end smallexample
@noindent