summaryrefslogtreecommitdiff
path: root/helm-files.el
diff options
context:
space:
mode:
authorThierry Volpiatto <thierry.volpiatto@gmail.com>2016-11-05 08:18:26 +0100
committerThierry Volpiatto <thierry.volpiatto@gmail.com>2016-11-05 08:18:26 +0100
commite24a6f9e89f0211dbb2aad5007a8bcc4fd449005 (patch)
treeb2e78b81f9fad72d30b88b12db1ddf9953390075 /helm-files.el
parent7a0d92a620b0249be7c8f537921ed5856507cde8 (diff)
Make helm-follow-mode-persistent local instead of let-bounding it.
* helm-files.el (helm-find-files-1): Allow not propagating its nil value to actions.
Diffstat (limited to 'helm-files.el')
-rw-r--r--helm-files.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/helm-files.el b/helm-files.el
index 61d65ce9..a0fd0920 100644
--- a/helm-files.el
+++ b/helm-files.el
@@ -2616,8 +2616,8 @@ Use it for non--interactive calls of `helm-find-files'."
(not (minibuffer-window-active-p (minibuffer-window)))))
(tap (thing-at-point 'filename))
(def (and tap (or (file-remote-p tap)
- (expand-file-name tap))))
- helm-follow-mode-persistent)
+ (expand-file-name tap)))))
+ (helm-set-local-variable 'helm-follow-mode-persistent nil)
(unless helm-source-find-files
(setq helm-source-find-files (helm-make-source
"Find Files" 'helm-source-ffiles)))