diff options
author | Thierry Volpiatto <thierry.volpiatto@gmail.com> | 2016-09-04 06:19:27 +0200 |
---|---|---|
committer | Thierry Volpiatto <thierry.volpiatto@gmail.com> | 2016-09-04 06:35:38 +0200 |
commit | 603befd98f5d89d97c7d27ee52bd5f2907ab31e7 (patch) | |
tree | 549b41ef227116c9874d87badd25fbffc9f8fe2e /helm-buffers.el | |
parent | 6e27e2821c25deff10c807c2c52bbebb59c024dc (diff) |
Remove obsolete variable helm-follow-mode.
* helm-buffers.el (helm-buffers-list-persistent-action):
Use helm-follow-mode-p.
* helm-elisp.el (helm-elisp--persistent-help): Use helm-follow-mode-p.
* helm-files.el (helm-find-files-up-one-level): Use helm-follow-mode-p.
* helm.el (helm-follow-mode): Stop using obsolete helm-follow-mode local variable
as helm-follow-mode is always local to source.
(helm-create-helm-buffer): Remove local setting of helm-follow-mode.
(helm-display-mode-line): Use helm-follow-mode-p.
(helm-mark-all): Use helm-follow-mode-p.
(helm-follow-input-idle-delay): Moved on top of section.
(helm-source-names-using-follow): Same.
(helm-follow-execute-persistent-action-maybe): Setup follow-mode locally to source.
(helm-follow-mode-p): New.
(helm-follow-mode-set-source): New.
Diffstat (limited to 'helm-buffers.el')
-rw-r--r-- | helm-buffers.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/helm-buffers.el b/helm-buffers.el index 2ede017b..35f4df8c 100644 --- a/helm-buffers.el +++ b/helm-buffers.el @@ -782,7 +782,7 @@ If REGEXP-FLAG is given use `query-replace-regexp'." (defun helm-buffers-list-persistent-action (candidate) (let ((current (window-buffer helm-persistent-action-display-window))) - (if (or (with-helm-buffer helm-follow-mode) + (if (or (helm-follow-mode-p) (eql current (get-buffer helm-current-buffer)) (not (eql current (get-buffer candidate)))) (switch-to-buffer candidate) |