Subject: bug#11385: 24.0.96; `image-dired-create-thumb': (file-error "Setting current directory" "no such file or directory" "$HOME/")

From: Stefan Monnier <[email-masked]>
Date: Sat, 12 May 2012 15:20:30 -0400

> I think $HOME is not generally recognized in file names.  Only a few
> select functions know about it (substitute-in-file-name and
> expand-file-name come to mind).

Only substitute-in-file-name performs expansion of env-vars.  IIRC the
function `load' also calls substitute-in-file-name, but otherwise
substitute-in-file-name is only applied to file names typed in
the minibuffer.

        Stefan