diff options
author | Thierry Volpiatto <thierry.volpiatto@gmail.com> | 2016-09-03 10:38:58 +0200 |
---|---|---|
committer | Thierry Volpiatto <thierry.volpiatto@gmail.com> | 2016-09-03 10:38:58 +0200 |
commit | cf69b70ca085e5bdc55da72c6baf43c4ce910032 (patch) | |
tree | b4b37ac7d9be6c538652cf73c9294d9d8906a1b1 /helm-elisp.el | |
parent | e66e2e40d15ff2f68fa732523f6d23344f7b4e8c (diff) |
Don't toggle in elisp PA when follow in on.
* helm-elisp.el (helm-elisp--persistent-help): Do it.
Diffstat (limited to 'helm-elisp.el')
-rw-r--r-- | helm-elisp.el | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/helm-elisp.el b/helm-elisp.el index ea5696a5..a2ac8a9f 100644 --- a/helm-elisp.el +++ b/helm-elisp.el @@ -672,8 +672,10 @@ Filename completion happen if string start after or between a double quote." (defun helm-elisp--persistent-help (candidate fun &optional name) (let ((hbuf (get-buffer (help-buffer)))) - (if (and (helm-attr 'help-running-p) + (if (or + (and (helm-attr 'help-running-p) (string= candidate (helm-attr 'help-current-symbol))) + (null (with-helm-buffer helm-follow-mode))) (progn ;; When started from a help buffer, ;; Don't kill this buffer as it is helm-current-buffer. |