branch: externals/doric-themes
commit 8afa675909df838cb7df8c81c4aac52ffe3cee4f
Author: Protesilaos <[email protected]>
Commit: Protesilaos <[email protected]>

    Remove the duplicate metadata from doric-themes-select-prompt
---
 doric-themes.el | 11 +++++------
 1 file changed, 5 insertions(+), 6 deletions(-)

diff --git a/doric-themes.el b/doric-themes.el
index 5c2138a2dc5..36d65f257f8 100644
--- a/doric-themes.el
+++ b/doric-themes.el
@@ -191,12 +191,11 @@ If TRANSFORM is non-nil, return THEME as-is."
 (defun doric-themes-select-prompt (&optional prompt)
   "Minibuffer prompt to select a Doric theme.
 With optional PROMPT string, use it.  Else use a generic prompt."
-  (let ((completion-extra-properties `(:annotation-function 
,#'doric-themes--annotate-theme)))
-    (intern
-     (completing-read
-      (or prompt "Select Doric theme: ")
-      (doric-themes--completion-table (doric-themes--list-known-themes))
-      nil t nil 'doric-themes-select-theme-history))))
+  (intern
+   (completing-read
+    (or prompt "Select Doric theme: ")
+    (doric-themes--completion-table (doric-themes--list-known-themes))
+    nil t nil 'doric-themes-select-theme-history)))
 
 (defun doric-themes-load-theme (theme)
   "Load THEME while disabling other themes and return THEME."

Reply via email to