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

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

[elpa] externals/denote 10e815c3fe 17/39: Refine denote-prompts Custom U


From: ELPA Syncer
Subject: [elpa] externals/denote 10e815c3fe 17/39: Refine denote-prompts Custom UI type
Date: Mon, 11 Jul 2022 00:57:45 -0400 (EDT)

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

    Refine denote-prompts Custom UI type
    
    This makes it work as intended in the interface of M-x customize (and
    related).
---
 denote.el | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/denote.el b/denote.el
index 1cd8d31aa2..720b51d2b7 100644
--- a/denote.el
+++ b/denote.el
@@ -204,7 +204,13 @@ The prompts will happen in the given order.
 If the value of this user option is nil, the `title' and
 `keywords' are used."
   :group 'denote
-  :type '(repeat symbol)) ; TODO 2022-07-07: Add `denote--prompt-symbols'
+  :type '(radio (const :tag "Use no prompts" nil)
+                (set :tag "Available prompts" :greedy t
+                     (const :tag "Title" title)
+                     (const :tag "Keywords" keywords)
+                     (const :tag "Date" date)
+                     (const :tag "File type extension" file-type)
+                     (const :tag "Subdirectory" subdirectory))))
 
 (defcustom denote-sort-keywords t
   "Whether to sort keywords in new files.



reply via email to

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