diff options
author | Thierry Volpiatto <thievol@posteo.net> | 2021-04-19 17:09:08 +0200 |
---|---|---|
committer | Thierry Volpiatto <thievol@posteo.net> | 2021-04-19 17:09:08 +0200 |
commit | df0633483ef12683ab40ecc0dff031e7d18872ca (patch) | |
tree | a2ae0386f94d1b2ded6a4143b2a2b6b5a87645ad /helm-help.el | |
parent | ead15142c1fa381c70673d7c6600cfcef46836de (diff) |
Stay on top at startup in helm-documentation
Diffstat (limited to 'helm-help.el')
-rw-r--r-- | helm-help.el | 7 |
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))) |