From 1b5d5121cf694570301c2cd3d6b2c0a67d099703 Mon Sep 17 00:00:00 2001 From: Thierry Volpiatto Date: Fri, 2 Sep 2016 18:05:57 +0200 Subject: Fix non-interactive call of follow-mode. * helm-files.el (helm-find-files-up-one-level): No need to turn off follow as it is prevented in files sources. * helm-mode.el (helm-read-file-name): Prevent follow. * helm.el (helm-mark-all): Bind helm-follow-mode-persistent to prevent customization of follow for current source. --- helm-files.el | 3 --- 1 file changed, 3 deletions(-) (limited to 'helm-files.el') diff --git a/helm-files.el b/helm-files.el index 0ace5f92..3a983302 100644 --- a/helm-files.el +++ b/helm-files.el @@ -1437,9 +1437,6 @@ If prefix numeric arg is given go ARG level up." (with-helm-alive-p (when (and (helm-file-completion-source-p) (not (helm-ff-invalid-tramp-name-p))) - (with-helm-window - (when helm-follow-mode - (helm-follow-mode -1) (message nil))) ;; When going up one level we want to be at the line ;; corresponding to actual directory, so store this info ;; in `helm-ff-last-expanded'. -- cgit v1.2.3