diff options
| author | Richard M. Stallman | 2002-07-27 19:11:14 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 2002-07-27 19:11:14 +0000 |
| commit | f4d127d7592eff984b6f83dc505059443a41d959 (patch) | |
| tree | e4b819616a7e10cf6194ac7d99dd78e9f8473962 | |
| parent | 6ee24f1e72319fb7d70e4cd5f8c15e9e955329a0 (diff) | |
| download | emacs-f4d127d7592eff984b6f83dc505059443a41d959.tar.gz emacs-f4d127d7592eff984b6f83dc505059443a41d959.zip | |
Document custom-file variable.
| -rw-r--r-- | man/custom.texi | 12 |
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, | |||
| 523 | invoke @samp{[State]} and select the @samp{Save for Future Sessions} | 523 | invoke @samp{[State]} and select the @samp{Save for Future Sessions} |
| 524 | operation. | 524 | operation. |
| 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 | ||
| 529 | file instead. To make this work, your @file{~/.emacs} should load | ||
| 530 | that file and should also set @code{custom-file} to the name of that | ||
| 531 | file. 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} |
| 527 | options (@pxref{Initial Options}), it will not let you save your | 539 | options (@pxref{Initial Options}), it will not let you save your |
| 528 | customizations in your @file{~/.emacs} init file. This is because | 540 | customizations in your @file{~/.emacs} init file. This is because |