summaryrefslogtreecommitdiff
path: root/helm-files.el
diff options
context:
space:
mode:
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)))