summaryrefslogtreecommitdiff
path: root/man/custom.texi
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2002-02-02 13:18:46 +0000
committerEli Zaretskii <eliz@gnu.org>2002-02-02 13:18:46 +0000
commit98efb016c775d7d61d6f06210c7fa0e9d35da719 (patch)
tree17e8692a952d2a49f8905bcd86ca91f4a3eb9870 /man/custom.texi
parent22fc1615edd66182fb764526d9ada4a654ee7e18 (diff)
downloademacs-98efb016c775d7d61d6f06210c7fa0e9d35da719.tar.gz
(Disabling): Document that .emacs is not edited from "emacs -q".
Diffstat (limited to 'man/custom.texi')
-rw-r--r--man/custom.texi6
1 files changed, 6 insertions, 0 deletions
diff --git a/man/custom.texi b/man/custom.texi
index f183580b703..e8af8e7953c 100644
--- a/man/custom.texi
+++ b/man/custom.texi
@@ -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