summaryrefslogtreecommitdiff
path: root/helm-help.el
diff options
context:
space:
mode:
authorThierry Volpiatto <thievol@posteo.net>2021-04-19 17:09:08 +0200
committerThierry Volpiatto <thievol@posteo.net>2021-04-19 17:09:08 +0200
commitdf0633483ef12683ab40ecc0dff031e7d18872ca (patch)
treea2ae0386f94d1b2ded6a4143b2a2b6b5a87645ad /helm-help.el
parentead15142c1fa381c70673d7c6600cfcef46836de (diff)
Stay on top at startup in helm-documentation
Diffstat (limited to 'helm-help.el')
-rw-r--r--helm-help.el7
1 files changed, 4 insertions, 3 deletions
diff --git a/helm-help.el b/helm-help.el
index 742c24a6..64085190 100644
--- a/helm-help.el
+++ b/helm-help.el
@@ -67,9 +67,10 @@ Find here the documentation of all documented sources."
(set-buffer buf)
(let ((inhibit-read-only t))
(erase-buffer)
- (cl-loop for elm in helm-help--string-list
- for str = (helm-interpret-value elm)
- do (insert (substitute-command-keys str) "\n\n"))
+ (save-excursion
+ (cl-loop for elm in helm-help--string-list
+ for str = (helm-interpret-value elm)
+ do (insert (substitute-command-keys str) "\n\n")))
(org-mode))
(setq buffer-read-only t)
(view-mode)))