diff options
Diffstat (limited to 'man/custom.texi')
-rw-r--r-- | man/custom.texi | 29 |
1 files changed, 24 insertions, 5 deletions
diff --git a/man/custom.texi b/man/custom.texi index ab29bd83e09..ce52431f3c6 100644 --- a/man/custom.texi +++ b/man/custom.texi @@ -12,7 +12,7 @@ Manual} for how to make more far-reaching changes. @xref{X Resources}, for information on using X resources to customize Emacs. Customization that you do within Emacs normally affects only the -particular Emacs session that you do it in--it does not persist +particular Emacs session that you do it in---it does not persist between sessions unless you save the customization in a file such as @file{.emacs} or @file{.Xdefaults} that will affect future sessions. @xref{Init File}. In the customization buffer, when you save @@ -1946,7 +1946,7 @@ loaded. @file{site-start.el}, if it exists. Like @file{default.el}, Emacs finds this file via the standard search path for Lisp libraries. Emacs loads this library before it loads your init file. To inhibit -loading of this library, use the option @samp{-no-site-file}. +loading of this library, use the option @samp{--no-site-file}. @xref{Initial Options}. You can place @file{default.el} and @file{site-start.el} in any of @@ -1984,9 +1984,20 @@ arguments, all surrounded by parentheses. For example, @code{(setq fill-column 60)} calls the function @code{setq} to set the variable @code{fill-column} (@pxref{Filling}) to 60. - The second argument to @code{setq} is an expression for the new value of -the variable. This can be a constant, a variable, or a function call -expression. In @file{.emacs}, constants are used most of the time. They can be: + You can set any Lisp variable with @code{setq}, but with certain +variables @code{setq} won't do what you probably want in the +@file{.emacs} file. Some variables automatically become buffer-local +when set with @code{setq}; what you want in @file{.emacs} is to set +the default value, using @code{setq-default}. Some customizable minor +mode variables do special things to enable the mode when you set them +with Customize, but ordinary @code{setq} won't do that; to enable the +mode in your @file{.emacs} file, call the minor mode command. The +following section has examples of both of these methods. + + The second argument to @code{setq} is an expression for the new +value of the variable. This can be a constant, a variable, or a +function call expression. In @file{.emacs}, constants are used most +of the time. They can be: @table @asis @item Numbers: @@ -2108,6 +2119,14 @@ which supports most of the languages of Western Europe. @need 1500 @item +Turn off Line Number mode, a global minor mode. + +@example +(line-number-mode 0) +@end example + +@need 1500 +@item Turn on Auto Fill mode automatically in Text mode and related modes. @example |