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

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

[elpa] externals/ef-themes 1d2544f0c8 1/4: Move hook declaration further


From: ELPA Syncer
Subject: [elpa] externals/ef-themes 1d2544f0c8 1/4: Move hook declaration further up
Date: Fri, 19 Aug 2022 04:57:34 -0400 (EDT)

branch: externals/ef-themes
commit 1d2544f0c860eca1e1bfad7d0bafc265c9383d2e
Author: Protesilaos Stavrou <info@protesilaos.com>
Commit: Protesilaos Stavrou <info@protesilaos.com>

    Move hook declaration further up
---
 ef-themes.el | 15 ++++++++-------
 1 file changed, 8 insertions(+), 7 deletions(-)

diff --git a/ef-themes.el b/ef-themes.el
index ac18f4c1aa..ab2a8f033f 100644
--- a/ef-themes.el
+++ b/ef-themes.el
@@ -46,6 +46,14 @@
   :prefix "ef-themes-"
   :tag "Ef Themes")
 
+;;; Use options
+
+(defcustom ef-themes-post-load-hook nil
+  "Hook that runs after loading an Ef theme.
+This is used by the commands `ef-themes-select' and
+`ef-themes-load-random'."
+  :type 'hook
+  :group 'ef-themes)
 ;;; Commands and their helper functions
 
 (defconst ef-themes-light-themes '( ef-day ef-light ef-spring ef-summer
@@ -105,13 +113,6 @@
                    nil t nil
                    'ef-themes--select-theme-history))
 
-(defcustom ef-themes-post-load-hook nil
-  "Hook that runs after loading an Ef theme.
-This is used by the commands `ef-themes-select' and
-`ef-themes-load-random'."
-  :type 'hook
-  :group 'ef-themes)
-
 (defun ef-themes--load-theme (theme)
   "Load THEME while disabling other Ef themes.
 Run `ef-themes-post-load-hook'."



reply via email to

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