[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/ef-themes 7a9ff2efc3 2/3: Reposition variable closer to
From: |
ELPA Syncer |
Subject: |
[elpa] externals/ef-themes 7a9ff2efc3 2/3: Reposition variable closer to where it is used |
Date: |
Tue, 1 Nov 2022 21:57:54 -0400 (EDT) |
branch: externals/ef-themes
commit 7a9ff2efc3d26f08960c175ae79b29386761688e
Author: Protesilaos Stavrou <info@protesilaos.com>
Commit: Protesilaos Stavrou <info@protesilaos.com>
Reposition variable closer to where it is used
---
ef-themes.el | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/ef-themes.el b/ef-themes.el
index 303da675d4..840d91fc5e 100644
--- a/ef-themes.el
+++ b/ef-themes.el
@@ -349,8 +349,6 @@ sequence given SEQ-PRED, using SEQ-DEFAULT as a fallback."
(symbol-value palette)
(user-error "No enabled Ef theme could be found")))
-(defvar ef-themes--select-theme-history nil)
-
(defun ef-themes--choose-subset ()
"Use `read-multiple-choice' to return `dark' or `light' variant."
(intern (cadr (read-multiple-choice
@@ -359,6 +357,8 @@ sequence given SEQ-PRED, using SEQ-DEFAULT as a fallback."
(?l "light" "Load a random light theme"))
"Limit the variation themes to select."))))
+(defvar ef-themes--select-theme-history nil)
+
(defun ef-themes--select-prompt (&optional prompt variant)
"Minibuffer prompt for `ef-themes-select'.
With optional PROMPT string, use it. Else use a generic prompt.