diff options
author | Stefan Monnier <monnier@iro.umontreal.ca> | 2000-12-03 22:11:57 +0000 |
---|---|---|
committer | Stefan Monnier <monnier@iro.umontreal.ca> | 2000-12-03 22:11:57 +0000 |
commit | 43aef553f2f85954bc73d1751c7521834d8b23d6 (patch) | |
tree | 89ae898adcac8e480e03f8fd1e9e06ac7275ee82 /man | |
parent | 8b262a654924a43af89bf89bdbc478349085f213 (diff) | |
download | emacs-43aef553f2f85954bc73d1751c7521834d8b23d6.tar.gz |
Don't quote lambdas.
Diffstat (limited to 'man')
-rw-r--r-- | man/cc-mode.texi | 2 | ||||
-rw-r--r-- | man/custom.texi | 13 | ||||
-rw-r--r-- | man/faq.texi | 8 | ||||
-rw-r--r-- | man/gnus.texi | 2 | ||||
-rw-r--r-- | man/sending.texi | 14 |
5 files changed, 17 insertions, 22 deletions
diff --git a/man/cc-mode.texi b/man/cc-mode.texi index dbde6f9f56c..696d2b57e2a 100644 --- a/man/cc-mode.texi +++ b/man/cc-mode.texi @@ -611,7 +611,7 @@ to your @file{.emacs} file: @example (add-hook 'c-mode-common-hook - '(lambda () (c-toggle-auto-hungry-state 1))) + (lambda () (c-toggle-auto-hungry-state 1))) @end example diff --git a/man/custom.texi b/man/custom.texi index a8775bc0a9a..9bb9b789305 100644 --- a/man/custom.texi +++ b/man/custom.texi @@ -1417,14 +1417,9 @@ to add local bindings (not very useful, we admit) for @kbd{C-c n} and @example (add-hook 'texinfo-mode-hook - '(lambda () - (define-key texinfo-mode-map - "\C-cp" - 'backward-paragraph) - (define-key texinfo-mode-map - "\C-cn" - 'forward-paragraph) - )) + (lambda () + (define-key texinfo-mode-map "\C-cp" 'backward-paragraph) + (define-key texinfo-mode-map "\C-cn" 'forward-paragraph))) @end example @xref{Hooks}. @@ -2167,7 +2162,7 @@ Turn on Auto Fill mode automatically in Text mode and related modes. @example (add-hook 'text-mode-hook - '(lambda () (auto-fill-mode 1))) + (lambda () (auto-fill-mode 1))) @end example This shows how to add a hook function to a normal hook variable diff --git a/man/faq.texi b/man/faq.texi index fa7c8481bc9..262f8e67563 100644 --- a/man/faq.texi +++ b/man/faq.texi @@ -4610,9 +4610,9 @@ best fix I've been able to come up with: (rmail-reply t)) (add-hook 'rmail-mode-hook - '(lambda () - (define-key rmail-mode-map "r" 'rmail-reply-t) - (define-key rmail-mode-map "R" 'rmail-reply))) + (lambda () + (define-key rmail-mode-map "r" 'rmail-reply-t) + (define-key rmail-mode-map "R" 'rmail-reply))) @end lisp @node MIME with Emacs mail packages, Automatically starting a mail or news reader, Replying to the sender of a message, Mail and news @@ -4737,7 +4737,7 @@ automatically via @lisp (add-hook 'gnus-article-prepare-hook - '(lambda () (ununderline-region (point-min) (point-max)))) + (lambda () (ununderline-region (point-min) (point-max)))) @end lisp @node Saving a multi-part Gnus posting, Starting Gnus faster, Viewing articles with embedded underlining, Mail and news diff --git a/man/gnus.texi b/man/gnus.texi index f5be926b238..71b83f7652e 100644 --- a/man/gnus.texi +++ b/man/gnus.texi @@ -21015,7 +21015,7 @@ Mac, MS (etc) characters into ISO 8859-1. @item @example (add-hook 'gnus-exit-query-functions -'(lambda () + (lambda () (if (and (file-exists-p nnmail-spool-file) (> (nnheader-file-size nnmail-spool-file) 0)) (yes-or-no-p "New mail has arrived. Quit Gnus anyways? ") diff --git a/man/sending.texi b/man/sending.texi index a8e9be8f745..faf9d8eaff8 100644 --- a/man/sending.texi +++ b/man/sending.texi @@ -350,13 +350,13 @@ expansion as well. Here's how to do that: @smallexample (add-hook 'mail-setup-hook - '(lambda () - (substitute-key-definition - 'next-line 'mail-abbrev-next-line - mail-mode-map global-map) - (substitute-key-definition - 'end-of-buffer 'mail-abbrev-end-of-buffer - mail-mode-map global-map))) + (lambda () + (substitute-key-definition + 'next-line 'mail-abbrev-next-line + mail-mode-map global-map) + (substitute-key-definition + 'end-of-buffer 'mail-abbrev-end-of-buffer + mail-mode-map global-map))) @end smallexample @node Mail Mode |