emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] Implement XDG Base Directory specification for user-emacs-di


From: Elias Mårtenson
Subject: Re: [PATCH] Implement XDG Base Directory specification for user-emacs-directory
Date: Mon, 29 Jul 2019 09:00:12 +0800

On Sun, 28 Jul 2019, 22:49 Eli Zaretskii, <address@hidden> wrote:
> From: Paul Eggert <address@hidden>
> Date: Sat, 27 Jul 2019 11:46:31 -0700
>
> I'll give it a whirl. Proposed patch attached.

>    When Emacs is started, it normally tries to load a Lisp program from
>  an @dfn{initialization file}, or @dfn{init file} for short.  This
> -file, if it exists, specifies how to initialize Emacs for you.  Emacs
> -looks for your init file using the filenames
> -@file{~/.config/emacs},. @file{~/.emacs}, @file{~/.config/emacs.el},
> -@file{~/.emacs.el}, @file{~/.config/emacs.d/init.el} or
> -@file{~/.emacs.d/init.el}; you can choose to use any one of these
> -names (@pxref{Find Init}).  Here, @file{~/} stands for your home
> +file, if it exists, specifies how to initialize Emacs for you.
> +If the directory @file{@var{xdghome}/.config/emacs} exists, Emacs uses
> +@file{@var{xdghome}/.config/emacs/init.el} as the init file.  Here,
> +@var{xdghome} stands for the value of the environment variable
> +@env{XDG_CONFIG_HOME}, or for @file{~/.config} if
> +@env{XDG_CONFIG_HOME} is unset; @file{~/} stands for your home
>  directory.

The above quote explains the meaning of the ~ symbol twice. Is that necessary, or is it the result of an incorrect copy and paste? 

Regards, 
Elias 

reply via email to

[Prev in Thread] Current Thread [Next in Thread]