changeset 43062:c9d1c7655c9f

(Disabling): Document that .emacs is not edited from "emacs -q".
author Eli Zaretskii <eliz@gnu.org>
date Sat, 02 Feb 2002 13:18:46 +0000
parents 357ce0fca815
children 9f236506400a
files man/custom.texi
diffstat 1 files changed, 6 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/man/custom.texi	Sat Feb 02 13:12:45 2002 +0000
+++ b/man/custom.texi	Sat Feb 02 13:18:46 2002 +0000
@@ -2002,6 +2002,12 @@
 the @file{.emacs} file for you.  Likewise, @kbd{M-x enable-command}
 edits @file{.emacs} to enable a command permanently.  @xref{Init File}.
 
+  If Emacs was invoked with the @option{-q} or @option{--no-init-file}
+options (@pxref{Initial Options}), it will not edit your
+@file{~/.emacs} init file.  This is because editing the init file from
+such a session might overwrite the lines you might have on your init
+file which enable and disable commands.
+
   Whether a command is disabled is independent of what key is used to
 invoke it; disabling also applies if the command is invoked using
 @kbd{M-x}.  Disabling a command has no effect on calling it as a