diff options
| author | Eli Zaretskii | 2002-02-02 13:18:46 +0000 |
|---|---|---|
| committer | Eli Zaretskii | 2002-02-02 13:18:46 +0000 |
| commit | 33b0dcb887bdd2e2157f2066b059626949b83c03 (patch) | |
| tree | ae98322cff1528ebd595b1429cdc7849836ec665 | |
| parent | 7e97c15772de78b61d2e11335d753e0dfafc4623 (diff) | |
| download | emacs-33b0dcb887bdd2e2157f2066b059626949b83c03.tar.gz emacs-33b0dcb887bdd2e2157f2066b059626949b83c03.zip | |
(Disabling): Document that .emacs is not edited from "emacs -q".
| -rw-r--r-- | man/custom.texi | 6 |
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 | |||
| 2002 | the @file{.emacs} file for you. Likewise, @kbd{M-x enable-command} | 2002 | the @file{.emacs} file for you. Likewise, @kbd{M-x enable-command} |
| 2003 | edits @file{.emacs} to enable a command permanently. @xref{Init File}. | 2003 | edits @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} | ||
| 2006 | options (@pxref{Initial Options}), it will not edit your | ||
| 2007 | @file{~/.emacs} init file. This is because editing the init file from | ||
| 2008 | such a session might overwrite the lines you might have on your init | ||
| 2009 | file 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 |
| 2006 | invoke it; disabling also applies if the command is invoked using | 2012 | invoke 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 |