branch: elpa/helm
commit 87f32186458d909f62ea6d3b9c97b0a1a1aaeb9b
Author: Thierry Volpiatto <[email protected]>
Commit: Thierry Volpiatto <[email protected]>
Fix preselection in toggle thumbnails
---
helm-files.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/helm-files.el b/helm-files.el
index 129d6529ac..4d5d8e7f8a 100644
--- a/helm-files.el
+++ b/helm-files.el
@@ -4952,7 +4952,7 @@ Special commands:
(setq helm-ff--thumbnailed-directories
(delete helm-ff-default-directory helm-ff--thumbnailed-directories)))
(helm-update (regexp-quote (replace-regexp-in-string
- "\\` *" "" (helm-get-selection nil t)))))
+ "\\`[[:multibyte:] ]*" "" (helm-get-selection
nil t)))))
(put 'helm-ff-toggle-thumbnails 'no-helm-mx t)
;;;###autoload