help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: OS independent way to specify location of .emacs.d directory


From: Eli Zaretskii
Subject: Re: OS independent way to specify location of .emacs.d directory
Date: Thu, 04 Apr 2013 05:48:28 +0300

> Date: Wed, 3 Apr 2013 17:01:19 -0700
> From: Joe Riel <joer@san.rr.com>
> 
> Is there way that specifies the path to the .emacs.d
> directory that works on Linux, Windows, and Mac?
> Currently I use
> 
>   (format "%s/.emacs.d" (getenv "HOME"))
> 
> However, I doubt that is necessarily correct on Windows.

Inside Emacs, it is correct on Windows as well.



reply via email to

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