aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman2002-07-27 19:11:14 +0000
committerRichard M. Stallman2002-07-27 19:11:14 +0000
commitf4d127d7592eff984b6f83dc505059443a41d959 (patch)
treee4b819616a7e10cf6194ac7d99dd78e9f8473962
parent6ee24f1e72319fb7d70e4cd5f8c15e9e955329a0 (diff)
downloademacs-f4d127d7592eff984b6f83dc505059443a41d959.tar.gz
emacs-f4d127d7592eff984b6f83dc505059443a41d959.zip
Document custom-file variable.
-rw-r--r--man/custom.texi12
1 files changed, 12 insertions, 0 deletions
diff --git a/man/custom.texi b/man/custom.texi
index 6fbe69efb87..c5792a0c858 100644
--- a/man/custom.texi
+++ b/man/custom.texi
@@ -523,6 +523,18 @@ option variable again each time you start Emacs. To save the option,
523invoke @samp{[State]} and select the @samp{Save for Future Sessions} 523invoke @samp{[State]} and select the @samp{Save for Future Sessions}
524operation. 524operation.
525 525
526@vindex custom-file
527 The customization buffer normally saves customizations in
528@file{~/.emacs}. If you wish, you can save customizations in another
529file instead. To make this work, your @file{~/.emacs} should load
530that file and should also set @code{custom-file} to the name of that
531file. For example:
532
533@example
534(load "~/.emacs-custom")
535(setq custom-file "~/.emacs-custom")
536@end example
537
526 If Emacs was invoked with the @option{-q} or @option{--no-init-file} 538 If Emacs was invoked with the @option{-q} or @option{--no-init-file}
527options (@pxref{Initial Options}), it will not let you save your 539options (@pxref{Initial Options}), it will not let you save your
528customizations in your @file{~/.emacs} init file. This is because 540customizations in your @file{~/.emacs} init file. This is because