Skip to content

Commit

Permalink
Change argument type of edraw-color-picker-read-color
Browse files Browse the repository at this point in the history
  • Loading branch information
misohena committed Feb 15, 2025
1 parent 9efaaea commit 3152aa2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions edraw-color-picker.el
Original file line number Diff line number Diff line change
Expand Up @@ -3040,6 +3040,9 @@ H:%5.1fdeg, S:%5.1f%%, B:%5.1f%%, RL:%5.1f%%"
"Read a color from minibuffer or color picker."
(interactive)

;; Normalize ALLOW-STRINGS
(when (stringp allow-strings)
(setq allow-strings (list allow-strings)))
(when (eq allow-strings t)
(setq allow-strings '(""))) ;;allow-empty

Expand Down

0 comments on commit 3152aa2

Please sign in to comment.