Fix ref to renamed function in doom/help-* helper
And improve their UX by displaying a loading message while Doom crawls the headings.
This commit is contained in:
parent
7c54478335
commit
592c548b24
1 changed files with 2 additions and 1 deletions
|
@ -127,6 +127,7 @@ selection of all minor-modes, active or not."
|
||||||
(let* ((default-directory doom-docs-dir)
|
(let* ((default-directory doom-docs-dir)
|
||||||
(org-agenda-files (mapcar #'expand-file-name (doom-enlist files)))
|
(org-agenda-files (mapcar #'expand-file-name (doom-enlist files)))
|
||||||
(depth (if (integerp depth) depth)))
|
(depth (if (integerp depth) depth)))
|
||||||
|
(message "Loading search results...")
|
||||||
(unwind-protect
|
(unwind-protect
|
||||||
(delq nil
|
(delq nil
|
||||||
(org-map-entries
|
(org-map-entries
|
||||||
|
@ -143,7 +144,7 @@ selection of all minor-modes, active or not."
|
||||||
'identity
|
'identity
|
||||||
(list (mapconcat #'identity
|
(list (mapconcat #'identity
|
||||||
(append (when include-files
|
(append (when include-files
|
||||||
(list (or (+org-get-property "TITLE")
|
(list (or (+org-get-global-property "TITLE")
|
||||||
(file-relative-name buffer-file-name))))
|
(file-relative-name buffer-file-name))))
|
||||||
path
|
path
|
||||||
(list (replace-regexp-in-string org-link-any-re "\\4" text)))
|
(list (replace-regexp-in-string org-link-any-re "\\4" text)))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue