From 454f7923a7de9f65f55050dfab48eefc40d0ce29 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Wed, 14 Nov 2018 09:31:28 -0800 Subject: Document recent change to HOME handling * doc/emacs/cmdargs.texi (General Variables): * doc/emacs/custom.texi (Find Init): * doc/lispref/files.texi (File Name Expansion): * etc/NEWS: Document behavior when HOME is a relative file name. --- doc/emacs/custom.texi | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'doc/emacs/custom.texi') diff --git a/doc/emacs/custom.texi b/doc/emacs/custom.texi index ddde5b22e6b..3dbe8f8003f 100644 --- a/doc/emacs/custom.texi +++ b/doc/emacs/custom.texi @@ -2557,10 +2557,9 @@ library. @xref{Hooks}. @node Find Init @subsection How Emacs Finds Your Init File - 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 + Normally Emacs uses your home directory to find @file{~/.emacs}; +that's what @samp{~} means in a file name. @xref{General Variables, HOME}. +If neither @file{~/.emacs} nor @file{~/.emacs.el} is found, Emacs looks for @file{~/.emacs.d/init.el} (which, like @file{~/.emacs.el}, can be byte-compiled). -- cgit v1.2.3