summaryrefslogtreecommitdiff
path: root/man/custom.texi
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2006-02-03 11:23:05 +0000
committerEli Zaretskii <eliz@gnu.org>2006-02-03 11:23:05 +0000
commitdae79445a910382bab500fba0242cd6ed4385031 (patch)
tree8bba1dd1143af6aa6f656079ef6f2049ce824b65 /man/custom.texi
parent0e21fc54361e9ffd493f67a3f404b9ed30db99e1 (diff)
downloademacs-dae79445a910382bab500fba0242cd6ed4385031.tar.gz
(Init File, Find Init): Add cross-references to where $HOME is described.
Diffstat (limited to 'man/custom.texi')
-rw-r--r--man/custom.texi16
1 files changed, 9 insertions, 7 deletions
diff --git a/man/custom.texi b/man/custom.texi
index 509a63a4de2..d10c8aeca2e 100644
--- a/man/custom.texi
+++ b/man/custom.texi
@@ -2029,8 +2029,9 @@ Reference Manual}.
@cindex startup (init file)
When Emacs is started, it normally loads a Lisp program from the
-file @file{.emacs} or @file{.emacs.el} in your home directory. We
-call this file your @dfn{init file} because it specifies how to
+file @file{.emacs} or @file{.emacs.el} in your home directory
+(see @ref{General Variables, HOME} if you don't know where that is).
+We call this file your @dfn{init file} because it specifies how to
initialize Emacs for you. You can use the command line switch
@samp{-q} to prevent loading your init file, and @samp{-u} (or
@samp{--user}) to specify a different user's init file (@pxref{Initial
@@ -2442,11 +2443,12 @@ library. @xref{Hooks}.
@node Find Init
@subsection How Emacs Finds Your Init File
- Normally Emacs uses the environment variable @env{HOME} to find
-@file{.emacs}; that's what @samp{~} means in a file name. If
-@file{.emacs} is not found inside @file{~/} (nor @file{.emacs.el}),
-Emacs looks for @file{~/.emacs.d/init.el} (which, like
-@file{~/.emacs.el}, can be byte-compiled).
+ Normally Emacs uses the environment variable @env{HOME}
+(@pxref{General Variables, HOME}) to find @file{.emacs}; that's what
+@samp{~} means in a file name. If @file{.emacs} is not found inside
+@file{~/} (nor @file{.emacs.el}), Emacs looks for
+@file{~/.emacs.d/init.el} (which, like @file{~/.emacs.el}, can be
+byte-compiled).
However, if you run Emacs from a shell started by @code{su}, Emacs
tries to find your own @file{.emacs}, not that of the user you are