]> git.eshelyaron.com Git - emacs.git/commitdiff
(Disabling): Document that .emacs is not edited from "emacs -q".
authorEli Zaretskii <eliz@gnu.org>
Sat, 2 Feb 2002 13:18:46 +0000 (13:18 +0000)
committerEli Zaretskii <eliz@gnu.org>
Sat, 2 Feb 2002 13:18:46 +0000 (13:18 +0000)
man/custom.texi

index f183580b7035ec6e2eb0d8e4b9c3e3449e6ee541..e8af8e7953c4bb7bae23e46e1335a52fb04bf139 100644 (file)
@@ -2002,6 +2002,12 @@ file directly or with the command @kbd{M-x disable-command}, which edits
 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