branch: externals/denote
commit 4abffa78c3516fb65f2e3480ab79a69beacf09c7
Author: Protesilaos Stavrou <[email protected]>
Commit: Protesilaos Stavrou <[email protected]>
Declare denote-query-sorting before its first use
The functionality to sort query buffers was introduced by Lucas
Quintana in pull request 594:
<https://github.com/protesilaos/denote/pull/594>.
Lucas has assigned copyright to the Free Software Foundation.
---
denote.el | 2 ++
1 file changed, 2 insertions(+)
diff --git a/denote.el b/denote.el
index 5dd63d48a4..bd198ac8ac 100644
--- a/denote.el
+++ b/denote.el
@@ -2487,6 +2487,8 @@ pass it to `denote-directory-files'."
(defvar denote-query--omit-current t
"When non-nil `denote-make-links-buffer' omits the current file.")
+(defvar denote-query-sorting)
+
(defun denote-retrieve-xref-alist (query &optional files)
"Return xref alist of absolute file paths with location of matches for QUERY.
Optional FILES can be a list of files to search for. It can also be a