Commit f4220fcd authored by Eli Zaretskii's avatar Eli Zaretskii
Browse files

(Changing an Option): Document that "emacs -q" cannot save customizations.

parent b5c5b319
......@@ -505,6 +505,7 @@ when they are finished editing a field. To insert a newline within an
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 @@ option variable again each time you start Emacs. To save the option,
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:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment