aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEli Zaretskii2002-02-02 13:18:46 +0000
committerEli Zaretskii2002-02-02 13:18:46 +0000
commit33b0dcb887bdd2e2157f2066b059626949b83c03 (patch)
treeae98322cff1528ebd595b1429cdc7849836ec665
parent7e97c15772de78b61d2e11335d753e0dfafc4623 (diff)
downloademacs-33b0dcb887bdd2e2157f2066b059626949b83c03.tar.gz
emacs-33b0dcb887bdd2e2157f2066b059626949b83c03.zip
(Disabling): Document that .emacs is not edited from "emacs -q".
-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
2002the @file{.emacs} file for you. Likewise, @kbd{M-x enable-command} 2002the @file{.emacs} file for you. Likewise, @kbd{M-x enable-command}
2003edits @file{.emacs} to enable a command permanently. @xref{Init File}. 2003edits @file{.emacs} to enable a command permanently. @xref{Init File}.
2004 2004
2005 If Emacs was invoked with the @option{-q} or @option{--no-init-file}
2006options (@pxref{Initial Options}), it will not edit your
2007@file{~/.emacs} init file. This is because editing the init file from
2008such a session might overwrite the lines you might have on your init
2009file which enable and disable commands.
2010
2005 Whether a command is disabled is independent of what key is used to 2011 Whether a command is disabled is independent of what key is used to
2006invoke it; disabling also applies if the command is invoked using 2012invoke it; disabling also applies if the command is invoked using
2007@kbd{M-x}. Disabling a command has no effect on calling it as a 2013@kbd{M-x}. Disabling a command has no effect on calling it as a