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

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

[nongnu] elpa/autothemer fc81b6d949 3/6: Fix issue with select color pro


From: ELPA Syncer
Subject: [nongnu] elpa/autothemer fc81b6d949 3/6: Fix issue with select color prompt
Date: Tue, 23 Aug 2022 04:58:10 -0400 (EDT)

branch: elpa/autothemer
commit fc81b6d949eb3bfd86e95195846916454c78c9cc
Author: Jason Milkins <jasonm23@gmail.com>
Commit: Jason Milkins <jasonm23@gmail.com>

    Fix issue with select color prompt
---
 autothemer.el | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/autothemer.el b/autothemer.el
index 02837dd403..1b925f9174 100644
--- a/autothemer.el
+++ b/autothemer.el
@@ -321,9 +321,9 @@ See also `autothemer--color-p', `autothemer--color-name', 
`autothemer--color-val
   (autothemer--current-theme-guard)
   (let*
       ((selected
-        (completing-read (if (boundp 'prompt)
-                             prompt
-                           "Select a color: ")
+        (completing-read (if (null prompt)
+                             "Select a color: "
+                           prompt)
          (mapcar #'(lambda (it)
                      (let ((color (autothemer--color-value it))
                            (name (autothemer--color-name it)))



reply via email to

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