# HG changeset patch # User Eli Zaretskii # Date 989326383 0 # Node ID 764853859fbc38a72d8f5cbcc12bd4bc8253ab94 # Parent 35040ab2df64fd49c96d105d2032daac16bf32d9 (Changing an Option): Document that "emacs -q" cannot save customizations. diff -r 35040ab2df64 -r 764853859fbc man/custom.texi --- a/man/custom.texi Tue May 08 12:31:31 2001 +0000 +++ b/man/custom.texi Tue May 08 12:53:03 2001 +0000 @@ -505,6 +505,7 @@ editable field, use @kbd{C-o} or @kbd{C-q C-j}. @cindex saving option value +@cindex customized options, saving Setting the option changes its value in the current Emacs session; @dfn{saving} the value changes it for future sessions as well. This works by writing code into your @file{~/.emacs} file so as to set the @@ -512,6 +513,12 @@ invoke @samp{[State]} and select the @samp{Save for Future Sessions} operation. + 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 +saving customizations from such a session would wipe out all the other +customizations you might have on your init file. + You can also restore the option to its standard value by invoking @samp{[State]} and selecting the @samp{Erase Customization} operation. There are actually three reset operations: