From 592c548b24e27a5be1e84a003777be2c73aa7781 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Sat, 26 Oct 2019 01:47:45 -0400 Subject: [PATCH] Fix ref to renamed function in doom/help-* helper And improve their UX by displaying a loading message while Doom crawls the headings. --- core/autoload/help.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/core/autoload/help.el b/core/autoload/help.el index e32d30fc0..b8f96805f 100644 --- a/core/autoload/help.el +++ b/core/autoload/help.el @@ -127,6 +127,7 @@ selection of all minor-modes, active or not." (let* ((default-directory doom-docs-dir) (org-agenda-files (mapcar #'expand-file-name (doom-enlist files))) (depth (if (integerp depth) depth))) + (message "Loading search results...") (unwind-protect (delq nil (org-map-entries @@ -143,7 +144,7 @@ selection of all minor-modes, active or not." 'identity (list (mapconcat #'identity (append (when include-files - (list (or (+org-get-property "TITLE") + (list (or (+org-get-global-property "TITLE") (file-relative-name buffer-file-name)))) path (list (replace-regexp-in-string org-link-any-re "\\4" text)))