* helm-files.el (helm-ff-auto-expand-to-home-or-root): Make code more readable and simplify.
(helm-ff-set-pattern): simplify, now default-directory is set locally on each start of helm session.
* helm-files.el (helm-ff-save-history): Remove text properties.
* helm-eshell.el (helm-esh-get-candidates): Remove Emacs23 compatibility (probably broken).
* helm-files.el (helm-ff-auto-expand-to-home-or-root): Fix regexp, don't use $ in string.
* helm-files.el: Fix expansion of "~/".
(helm-ff-set-pattern,
helm-ff-auto-expand-to-home-or-root): Do it.