From f4d127d7592eff984b6f83dc505059443a41d959 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Sat, 27 Jul 2002 19:11:14 +0000 Subject: [PATCH] Document custom-file variable. --- man/custom.texi | 12 ++++++++++++ 1 file changed, 12 insertions(+) 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, 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 -- 2.39.5