emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/denote 0fde4498e5 03/12: Simplify denote-keywords-promp


From: ELPA Syncer
Subject: [elpa] externals/denote 0fde4498e5 03/12: Simplify denote-keywords-prompt
Date: Thu, 4 Jan 2024 06:57:54 -0500 (EST)

branch: externals/denote
commit 0fde4498e59a262cf177148f66f3095a72eec6fd
Author: Jean-Philippe Gagné Guay <jeanphilippe150@gmail.com>
Commit: Jean-Philippe Gagné Guay <jeanphilippe150@gmail.com>

    Simplify denote-keywords-prompt
---
 denote.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/denote.el b/denote.el
index df44325206..8504f51bbf 100644
--- a/denote.el
+++ b/denote.el
@@ -1019,8 +1019,8 @@ with `string-collate-lessp' if the user option
 `denote-sort-keywords' is non-nil.
 
 Return an empty list if the minibuffer input is empty."
-  (when-let ((kw (denote--keywords-crm (denote-keywords) prompt-text 
initial-keywords)))
-    (denote-keywords-sort kw)))
+  (denote-keywords-sort
+   (denote--keywords-crm (denote-keywords) prompt-text initial-keywords)))
 
 (defun denote-keywords-sort (keywords)
   "Sort KEYWORDS if `denote-sort-keywords' is non-nil.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]