changeset 72841:7637a6a23f0f

(Citations Outside LaTeX): Simpify lisp example.
author Reiner Steib <Reiner.Steib@gmx.de>
date Tue, 12 Sep 2006 20:17:42 +0000
parents e755feee123f
children e9b3d4ace2ad
files man/ChangeLog man/reftex.texi
diffstat 2 files changed, 6 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/man/ChangeLog	Tue Sep 12 20:04:32 2006 +0000
+++ b/man/ChangeLog	Tue Sep 12 20:17:42 2006 +0000
@@ -1,3 +1,7 @@
+2006-09-12  Reiner Steib  <Reiner.Steib@gmx.de>
+
+	* reftex.texi (Citations Outside LaTeX): Simpify lisp example.
+
 2006-09-12  Paul Eggert  <eggert@cs.ucla.edu>
 
 	* faq.texi (Escape sequences in shell output): EMACS is now set
--- a/man/reftex.texi	Tue Sep 12 20:04:32 2006 +0000
+++ b/man/reftex.texi	Tue Sep 12 20:17:42 2006 +0000
@@ -1929,8 +1929,8 @@
 @lisp
 (add-hook 'mail-setup-hook
           (lambda () (define-key mail-mode-map "\C-c["
-                       (lambda () (interactive)
-                         (require 'reftex)
+                       (lambda ()
+                         (interactive)
                          (let ((reftex-cite-format 'locally))
                            (reftex-citation))))))
 @end lisp