summaryrefslogtreecommitdiff
path: root/helm-lib.el
diff options
context:
space:
mode:
authorThierry Volpiatto <thierry.volpiatto@gmail.com>2020-07-26 10:55:59 +0200
committerThierry Volpiatto <thierry.volpiatto@gmail.com>2020-07-26 10:55:59 +0200
commitb8ade10705f57abbc0dc2912fcbba7e918cc85ab (patch)
treea81c24a2daf7d24cfd282186bcbf0e3e2adad5d7 /helm-lib.el
parent61fb7c43876782699fd3fa50c847a2c2a82ecfd5 (diff)
Move helm-help--iter-org-state on top
Diffstat (limited to 'helm-lib.el')
-rw-r--r--helm-lib.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/helm-lib.el b/helm-lib.el
index d089d73b..c1f920f3 100644
--- a/helm-lib.el
+++ b/helm-lib.el
@@ -548,6 +548,8 @@ E.g.: helm.el$
"A hook that runs before helm-help starts.")
(defvar helm-help-mode-after-hook nil
"A hook that runs when helm-help exits.")
+(defvar helm-help--iter-org-state nil)
+
(defun helm-help-internal (bufname insert-content-fn)
"Show long message during Helm session in BUFNAME.
INSERT-CONTENT-FN is the function that inserts text to be
@@ -604,7 +606,6 @@ displayed in BUFNAME."
(deactivate-mark)
(push-mark nil nil t)))
-(defvar helm-help--iter-org-state nil)
(defun helm-help-org-cycle ()
(pcase (helm-iter-next helm-help--iter-org-state)
((pred numberp) (org-content))