/[emacs]/emacs/man/custom.texi
ViewVC logotype

Diff of /emacs/man/custom.texi

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.48.2.5 by miles, Tue Jul 6 09:31:25 2004 UTC revision 1.48.2.6 by miles, Tue Jul 6 10:10:50 2004 UTC
# Line 1984  arguments, all surrounded by parentheses Line 1984  arguments, all surrounded by parentheses
1984  fill-column 60)} calls the function @code{setq} to set the variable  fill-column 60)} calls the function @code{setq} to set the variable
1985  @code{fill-column} (@pxref{Filling}) to 60.  @code{fill-column} (@pxref{Filling}) to 60.
1986    
1987    The second argument to @code{setq} is an expression for the new value of    You can set any Lisp variable with @code{setq}, but with certain
1988  the variable.  This can be a constant, a variable, or a function call  variables @code{setq} won't do what you probably want in the
1989  expression.  In @file{.emacs}, constants are used most of the time.  They can be:  @file{.emacs} file.  Some variables automatically become buffer-local
1990    when set with @code{setq}; what you want in @file{.emacs} is to set
1991    the default value, using @code{setq-default}.  Some customizable minor
1992    mode variables do special things to enable the mode when you set them
1993    with Customize, but ordinary @code{setq} won't do that; to enable the
1994    mode in your @file{.emacs} file, call the minor mode command.  The
1995    following section has examples of both of these methods.
1996    
1997      The second argument to @code{setq} is an expression for the new
1998    value of the variable.  This can be a constant, a variable, or a
1999    function call expression.  In @file{.emacs}, constants are used most
2000    of the time.  They can be:
2001    
2002  @table @asis  @table @asis
2003  @item Numbers:  @item Numbers:
# Line 2107  which supports most of the languages of Line 2118  which supports most of the languages of
2118  @end example  @end example
2119    
2120  @need 1500  @need 1500
2121    @item
2122    Turn off Line Number mode, a global minor mode.
2123    
2124    @example
2125    (line-number-mode 0)
2126    @end example
2127    
2128    @need 1500
2129  @item  @item
2130  Turn on Auto Fill mode automatically in Text mode and related modes.  Turn on Auto Fill mode automatically in Text mode and related modes.
2131    

Legend:
Removed from v.1.48.2.5  
changed lines
  Added in v.1.48.2.6

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26