changeset 46711:101b5b0fa2b5

Document custom-file variable.
author Richard M. Stallman <rms@gnu.org>
date Sat, 27 Jul 2002 19:11:14 +0000
parents 0d10dffe0423
children 9423094d3e99
files man/custom.texi
diffstat 1 files changed, 12 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/man/custom.texi	Sat Jul 27 19:09:54 2002 +0000
+++ b/man/custom.texi	Sat Jul 27 19:11:14 2002 +0000
@@ -523,6 +523,18 @@
 invoke @samp{[State]} and select the @samp{Save for Future Sessions}
 operation.
 
+@vindex custom-file
+  The customization buffer normally saves customizations in
+@file{~/.emacs}.  If you wish, you can save customizations in another
+file instead.  To make this work, your @file{~/.emacs} should load
+that file and should also set @code{custom-file} to the name of that
+file.  For example:
+
+@example
+(load "~/.emacs-custom")
+(setq custom-file "~/.emacs-custom")
+@end example
+
   If Emacs was invoked with the @option{-q} or @option{--no-init-file}
 options (@pxref{Initial Options}), it will not let you save your
 customizations in your @file{~/.emacs} init file.  This is because