branch: externals/ef-themes commit 226bf0fb955d25e6153d8d211b59ad7f14447c8b Author: Protesilaos Stavrou <i...@protesilaos.com> Commit: Protesilaos Stavrou <i...@protesilaos.com>
Remove hardcoded list of Ef themes (per d407053) --- ef-themes.el | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/ef-themes.el b/ef-themes.el index 879cc4b177..600f39b681 100644 --- a/ef-themes.el +++ b/ef-themes.el @@ -53,15 +53,12 @@ (string-prefix-p "ef-" (symbol-name theme))) custom-known-themes)) -(defconst ef-themes-themes '(ef-summer ef-winter) - "List of Ef Themes.") - (defvar ef-themes--select-theme-history nil) (defun ef-themes--select-prompt () "Minibuffer prompt for `ef-themes-select'." (completing-read "Select Ef Theme: " - ef-themes-themes + (ef-themes--list-enabled-themes) nil t nil 'ef-themes--select-theme-history))