]> git.eshelyaron.com Git - emacs.git/commitdiff
Don't quote lambdas.
authorStefan Monnier <monnier@iro.umontreal.ca>
Sun, 3 Dec 2000 22:11:57 +0000 (22:11 +0000)
committerStefan Monnier <monnier@iro.umontreal.ca>
Sun, 3 Dec 2000 22:11:57 +0000 (22:11 +0000)
man/cc-mode.texi
man/custom.texi
man/faq.texi
man/gnus.texi
man/sending.texi

index dbde6f9f56c8a379195ca333858589e26efc4413..696d2b57e2a0c25a65c0f0436a6543e0ae3aa633 100644 (file)
@@ -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
 
index a8775bc0a9af9b90b471297f101640d8f79a7787..9bb9b789305d6b375c490d5df41498a1734c5b12 100644 (file)
@@ -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
index fa7c8481bc9b00f6201d750be13b3a31f1dadced..262f8e67563529275d1bdf1b98f4cd442188b0c9 100644 (file)
@@ -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
index f5be926b23821c6e89756b037db735840d14779c..71b83f7652ece6023f050f8b1918fff2a85eab54 100644 (file)
@@ -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? ")
index a8e9be8f7457e9c23390451902c0d84efd6a7aea..faf9d8eaff875f5be79cb3f1765ec2368f2bdeaa 100644 (file)
@@ -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