comparison man/xemacs-faq.texi @ 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 0e04aba50e0b
children 574c005d1f5c
comparison
equal deleted inserted replaced
2768:feeb145e30f4 2769:640e02d61e7f
5 @setchapternewpage off 5 @setchapternewpage off
6 @c %**end of header 6 @c %**end of header
7 @finalout 7 @finalout
8 @titlepage 8 @titlepage
9 @title XEmacs FAQ 9 @title XEmacs FAQ
10 @subtitle Frequently asked questions about XEmacs @* Last Modified: $Date: 2005/02/04 02:51:21 $ 10 @subtitle Frequently asked questions about XEmacs @* Last Modified: $Date: 2005/05/10 17:56:15 $
11 @sp 1 11 @sp 1
12 @author Ben Wing <ben@@xemacs.org> 12 @author Ben Wing <ben@@xemacs.org>
13 @author Tony Rossini <rossini@@u.washington.edu> 13 @author Tony Rossini <rossini@@u.washington.edu>
14 @author Chuck Thompson <cthomp@@xemacs.org> 14 @author Chuck Thompson <cthomp@@xemacs.org>
15 @author Steve Baur <steve@@xemacs.org> 15 @author Steve Baur <steve@@xemacs.org>
5062 5062
5063 Try the following lisp in your @file{init.el}: 5063 Try the following lisp in your @file{init.el}:
5064 5064
5065 @lisp 5065 @lisp
5066 (setq default-major-mode 'text-mode) 5066 (setq default-major-mode 'text-mode)
5067 (setq text-mode-hook 'turn-on-auto-fill) 5067 (add-hook 'text-mode-hook 'turn-on-auto-fill)
5068 @end lisp 5068 @end lisp
5069 5069
5070 @strong{WARNING}: note that changing the value of 5070 @strong{WARNING}: note that changing the value of
5071 @code{default-major-mode} from @code{fundamental-mode} can break a large 5071 @code{default-major-mode} from @code{fundamental-mode} can break a large
5072 amount of built-in code that expects newly created buffers to be in 5072 amount of built-in code that expects newly created buffers to be in