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

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

[elpa] externals/denote 15bb6fe2f8 07/12: Make 'denote-command-prompt' r


From: ELPA Syncer
Subject: [elpa] externals/denote 15bb6fe2f8 07/12: Make 'denote-command-prompt' return symbol
Date: Mon, 25 Sep 2023 09:58:16 -0400 (EDT)

branch: externals/denote
commit 15bb6fe2f88f40adf03f2e68f6ab0ee4b10e81f2
Author: Protesilaos Stavrou <info@protesilaos.com>
Commit: Protesilaos Stavrou <info@protesilaos.com>

    Make 'denote-command-prompt' return symbol
---
 denote.el | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/denote.el b/denote.el
index 810327d7f0..adfe68f376 100644
--- a/denote.el
+++ b/denote.el
@@ -1716,10 +1716,11 @@ The meaning of FILES is the same as in 
`denote--id-exists-p'."
 (defun denote-command-prompt ()
   "Prompt for command among `denote-commands-for-new-notes'."
   (let ((default (car denote--command-prompt-history)))
-    (completing-read
-     denote-commands-for-new-notes nil :require-match
-     nil 'denote--command-prompt-history)))
+    (intern
+     (completing-read
       (format-prompt "Run note-creating Denote command" default)
+      denote-commands-for-new-notes nil :require-match
+      nil 'denote--command-prompt-history))))
 
 ;;;;; The `denote' command and its prompts
 



reply via email to

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