emacs-devel
[Top][All Lists]
Advanced

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

Re: Don't concat directories to file names


From: Tom Tromey
Subject: Re: Don't concat directories to file names
Date: Thu, 14 Jun 2007 13:51:22 -0600
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.990 (gnu/linux)

>>>>> "Juanma" == Juanma Barranquero <address@hidden> writes:

Juanma> I think we should add a function like the one below (with a better
Juanma> name and docstring, of course), so we can "move" all these
Juanma> configuration files and directories which are not yet in ~/.emacs.d/

Sounds good to me.

Juanma> +       ;; Preferred for new installations
Juanma> +       ((file-directory-p user-emacs-directory)
Juanma> +       (expand-file-name (or new-name name) user-emacs-directory))
Juanma> +       ;; If ~/.emacs.d/ does not exist
Juanma> +       (t at-home)))))

IMO, if ~/.emacs.d does not exist, and it is what we prefer for the
future, we should create it here.

Tom




reply via email to

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