branch: externals/denote
commit a6925b1edf6e756074763dcfa96dbde7908bc3ac
Author: Protesilaos Stavrou <[email protected]>
Commit: Protesilaos Stavrou <[email protected]>
Tweak the doc string of denote-query-sort-last-search
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 | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/denote.el b/denote.el
index 900668d235..9ff12ab102 100644
--- a/denote.el
+++ b/denote.el
@@ -5414,12 +5414,12 @@ means of e.g. `denote-query-exclude-files')."
(message "Cleared all filters"))
(defun denote-query-sort-last-search (component)
- "Sort the files matched by the last search according to COMPONENT.
+ "Sort files matched by the last search according to COMPONENT.
-Interactively, prompt for COMPONENT among `denote-sort-components'.
+When called interactively, prompt for COMPONENT among `denote-sort-components'.
-When called from Lisp, any argument as accepted by `denote-sort-files'
-is allowed."
+When called from Lisp, COMPONENT has the same meaning as in the function
+`denote-sort-files'."
(interactive (list (denote-sort-component-prompt)))
(let ((denote-query-sorting component))
(denote-make-links-buffer denote-query--last-query denote-query--last-files