[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: About HOME in OS X
From: |
Xue Fuqiao |
Subject: |
Re: About HOME in OS X |
Date: |
Tue, 11 Jun 2013 19:27:46 +0800 |
On Tue, Jun 11, 2013 at 7:22 PM, Xue Fuqiao <xfq.free@gmail.com> wrote:
> Hi list,
>
> On my system (OS X 10.8.4):
>
> ELISP> (getenv "HOME")
> "/Users/xfq"
> ELISP> (expand-file-name "$HOME/foo")
>
> "/Users/xfq/emacs-repo/bzr/trunk/nextstep/Emacs.app/Contents/MacOS/$HOME/foo"
>
> I'm confused here. Why don't the result of two evaluations be the same?
Hmm... The following expression works properly:
(expand-file-name (substitute-in-file-name "$HOME/foo"))
--
Best regards, Xue Fuqiao.
Re: About HOME in OS X, Peter Dyballa, 2013/06/11
Re: About HOME in OS X, Kevin Montuori, 2013/06/11