diff options
| author | Eli Zaretskii | 2001-05-08 12:53:03 +0000 |
|---|---|---|
| committer | Eli Zaretskii | 2001-05-08 12:53:03 +0000 |
| commit | f4220fcd18c22a871ac11dde3b38869682892eb9 (patch) | |
| tree | 87c9947ba0cfc2ec2ac2f712d8a3b02cf13d72cf | |
| parent | b5c5b319e539135a5314a5d4bfcc0f99fca15fba (diff) | |
| download | emacs-f4220fcd18c22a871ac11dde3b38869682892eb9.tar.gz emacs-f4220fcd18c22a871ac11dde3b38869682892eb9.zip | |
(Changing an Option): Document that "emacs -q" cannot save customizations.
| -rw-r--r-- | man/custom.texi | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/man/custom.texi b/man/custom.texi index e499af35038..23f8bc1da25 100644 --- a/man/custom.texi +++ b/man/custom.texi | |||
| @@ -505,6 +505,7 @@ when they are finished editing a field. To insert a newline within an | |||
| 505 | editable field, use @kbd{C-o} or @kbd{C-q C-j}. | 505 | editable field, use @kbd{C-o} or @kbd{C-q C-j}. |
| 506 | 506 | ||
| 507 | @cindex saving option value | 507 | @cindex saving option value |
| 508 | @cindex customized options, saving | ||
| 508 | Setting the option changes its value in the current Emacs session; | 509 | Setting the option changes its value in the current Emacs session; |
| 509 | @dfn{saving} the value changes it for future sessions as well. This | 510 | @dfn{saving} the value changes it for future sessions as well. This |
| 510 | works by writing code into your @file{~/.emacs} file so as to set the | 511 | works by writing code into your @file{~/.emacs} file so as to set the |
| @@ -512,6 +513,12 @@ option variable again each time you start Emacs. To save the option, | |||
| 512 | invoke @samp{[State]} and select the @samp{Save for Future Sessions} | 513 | invoke @samp{[State]} and select the @samp{Save for Future Sessions} |
| 513 | operation. | 514 | operation. |
| 514 | 515 | ||
| 516 | If Emacs was invoked with the @option{-q} or @option{--no-init-file} | ||
| 517 | options (@pxref{Initial Options}), it will not let you save your | ||
| 518 | customizations in your @file{~/.emacs} init file. This is because | ||
| 519 | saving customizations from such a session would wipe out all the other | ||
| 520 | customizations you might have on your init file. | ||
| 521 | |||
| 515 | You can also restore the option to its standard value by invoking | 522 | You can also restore the option to its standard value by invoking |
| 516 | @samp{[State]} and selecting the @samp{Erase Customization} | 523 | @samp{[State]} and selecting the @samp{Erase Customization} |
| 517 | operation. There are actually three reset operations: | 524 | operation. There are actually three reset operations: |