changeset 2769:640e02d61e7f

[xemacs-hg @ 2005-05-10 17:56:14 by aidan] Change the FAQ to not advise doing (setq text-mode-hook function-name).
author aidan
date Tue, 10 May 2005 17:56:15 +0000
parents feeb145e30f4
children 3ab75aa82331
files man/ChangeLog man/xemacs-faq.texi
diffstat 2 files changed, 7 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/man/ChangeLog	Tue May 10 17:36:05 2005 +0000
+++ b/man/ChangeLog	Tue May 10 17:56:15 2005 +0000
@@ -1,3 +1,8 @@
+2005-05-10  Aidan Kehoe  <kehoea@parhasard.net>
+
+	* xemacs-faq.texi (Q3.2.5): (setq text-mode-hook
+	'turn-on-auto-fill) is not a good idea. 
+
 2005-05-10  Aidan Kehoe  <kehoea@parhasard.net>
 
 	* xemacs/sending.texi (Sending Mail):Document that sendmail.el is 
--- a/man/xemacs-faq.texi	Tue May 10 17:36:05 2005 +0000
+++ b/man/xemacs-faq.texi	Tue May 10 17:56:15 2005 +0000
@@ -7,7 +7,7 @@
 @finalout
 @titlepage
 @title XEmacs FAQ
-@subtitle Frequently asked questions about XEmacs @* Last Modified: $Date: 2005/02/04 02:51:21 $
+@subtitle Frequently asked questions about XEmacs @* Last Modified: $Date: 2005/05/10 17:56:15 $
 @sp 1
 @author Ben Wing <ben@@xemacs.org>
 @author Tony Rossini <rossini@@u.washington.edu>
@@ -5064,7 +5064,7 @@
 
 @lisp
 (setq default-major-mode 'text-mode)
-(setq text-mode-hook 'turn-on-auto-fill)
+(add-hook 'text-mode-hook 'turn-on-auto-fill)
 @end lisp
 
 @strong{WARNING}: note that changing the value of