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

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

[elpa] externals/modus-vivendi-theme 7a7e22c 060/110: Internal: reorgani


From: Stefan Monnier
Subject: [elpa] externals/modus-vivendi-theme 7a7e22c 060/110: Internal: reorganise `defun' initial placement
Date: Wed, 29 Apr 2020 21:40:07 -0400 (EDT)

branch: externals/modus-vivendi-theme
commit 7a7e22c557be7c933e8c8b2e2b247233b646f666
Author: Protesilaos Stavrou <address@hidden>
Commit: Protesilaos Stavrou <address@hidden>

    Internal: reorganise `defun' initial placement
---
 modus-operandi-theme.el | 10 ++++++----
 modus-vivendi-theme.el  | 10 ++++++----
 2 files changed, 12 insertions(+), 8 deletions(-)

diff --git a/modus-operandi-theme.el b/modus-operandi-theme.el
index ed79066..e76a7ef 100644
--- a/modus-operandi-theme.el
+++ b/modus-operandi-theme.el
@@ -402,16 +402,18 @@ between foreground and background is >= 7:1)."
   "Use a three-dimensional style for the active mode line."
   :type 'boolean)
 
+(defcustom modus-operandi-theme-subtle-diffs nil
+  "Use fewer/dim backgrounds in `diff-mode', `ediff',`magit'."
+  :type 'boolean)
+
+;; Helper functions that are meant to ease the implementation of the
+;; above customisation options.
 (defun modus-operandi-theme-modeline (col3d col)
   "Control the box colour of the mode line, either COL3D or COL."
   (if modus-operandi-theme-3d-modeline
       (list :line-width 1 :color col3d :style 'released-button)
     (list :line-width 1 :color col :style nil)))
 
-(defcustom modus-operandi-theme-subtle-diffs nil
-  "Use fewer/dim backgrounds in `diff-mode', `ediff',`magit'."
-  :type 'boolean)
-
 (defun modus-operandi-theme-diffs (subtle-bg subtle-fg intense-bg intense-fg)
   "Colour combinations for `modus-operandi-theme-subtle-diffs'.
 
diff --git a/modus-vivendi-theme.el b/modus-vivendi-theme.el
index 5a4d7f1..0a5031f 100644
--- a/modus-vivendi-theme.el
+++ b/modus-vivendi-theme.el
@@ -402,16 +402,18 @@ between foreground and background is >= 7:1)."
   "Use a three-dimensional style for the active mode line."
   :type 'boolean)
 
+(defcustom modus-vivendi-theme-subtle-diffs nil
+  "Use fewer/dim backgrounds in `diff-mode', `ediff',`magit'."
+  :type 'boolean)
+
+;; Helper functions that are meant to ease the implementation of the
+;; above customisation options.
 (defun modus-vivendi-theme-modeline (col3d col)
   "Control the box colour of the mode line, either COL3D or COL."
   (if modus-vivendi-theme-3d-modeline
       (list :line-width 1 :color col3d :style 'released-button)
     (list :line-width 1 :color col :style nil)))
 
-(defcustom modus-vivendi-theme-subtle-diffs nil
-  "Use fewer/dim backgrounds in `diff-mode', `ediff',`magit'."
-  :type 'boolean)
-
 (defun modus-vivendi-theme-diffs (subtle-bg subtle-fg intense-bg intense-fg)
   "Colour combinations for `modus-vivendi-theme-subtle-diffs'.
 



reply via email to

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