mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-06-14 12:31:25 +00:00
; * doc/emacs/custom.texi (Examining): Fix last change.
This commit is contained in:
parent
4ad9cd74c6
commit
377e3f441f
1 changed files with 10 additions and 3 deletions
|
|
@ -869,14 +869,21 @@ way to alter the variable in future sessions is to put something in
|
|||
your initialization file (@pxref{Init File}).
|
||||
|
||||
@findex setopt
|
||||
If you're setting a customizable variable in your initialization
|
||||
file, and you don't want to use the Customize interface, you can use
|
||||
the @code{setopt} macro. For instance:
|
||||
If you're setting a customizable variable, and you don't want to use
|
||||
the Customize interface, you can use the @code{setopt} macro. For
|
||||
instance:
|
||||
|
||||
@example
|
||||
M-: (setopt fill-column 75) @key{RET}
|
||||
@end example
|
||||
|
||||
@noindent
|
||||
Or, if you want to do this in your initialization file:
|
||||
|
||||
@example
|
||||
(setopt fill-column 75)
|
||||
@end example
|
||||
|
||||
This works the same as @code{setq}, but if the variable has any
|
||||
special setter functions, they will be run automatically when using
|
||||
@code{setopt}. You can also use @code{setopt} on other,
|
||||
|
|
|
|||
Loading…
Reference in a new issue