branch: elpa/helm
commit 0b97587d799020e6771ad310e63c803b8e99be8b
Author: Thierry Volpiatto <[email protected]>
Commit: Thierry Volpiatto <[email protected]>
Revert "Fix issue with abbreviate-file-name in helm-highlight-files (#2709)"
This reverts commit 2833968f895a1f8b6730c527662b9536bcab0195.
---
helm-for-files.el | 6 +-----
1 file changed, 1 insertion(+), 5 deletions(-)
diff --git a/helm-for-files.el b/helm-for-files.el
index 25cf059fd8..e812f3f10d 100644
--- a/helm-for-files.el
+++ b/helm-for-files.el
@@ -181,11 +181,7 @@ Colorize only symlinks, directories and files."
(not (and helm--url-regexp
(string-match helm--url-regexp i)))
(not (string-match helm-ff-url-regexp i)))
- (helm-basename i)
- ;; (abbreviate-file-name i) and i may be the same
object
- ;; when abbreviate-file-name doesn't modify i
- ;; e.g. (abbreviate-file-name "/foo") bug#2709.
- (copy-sequence (abbreviate-file-name i)))
+ (helm-basename i) (abbreviate-file-name i))
for isremote = (or (file-remote-p i)
(helm-file-on-mounted-network-p i))
;; file-attributes is too slow on remote files,