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

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

[elpa] externals/calibre d8682121d8 23/76: Reorder variable declarations


From: ELPA Syncer
Subject: [elpa] externals/calibre d8682121d8 23/76: Reorder variable declarations
Date: Thu, 18 May 2023 09:57:42 -0400 (EDT)

branch: externals/calibre
commit d8682121d8c73f92481cf424fef71b63ed9f0d14
Author: Kjartan Óli Ágústsson <kjartanoli@disroot.org>
Commit: Kjartan Óli Ágústsson <kjartanoli@disroot.org>

    Reorder variable declarations
    
    * calibre.el (calibre-libraries, calibre-format-preferences): Move to
    the top of the file, to keep defcustoms grouped together.
---
 calibre.el | 24 ++++++++++++------------
 1 file changed, 12 insertions(+), 12 deletions(-)

diff --git a/calibre.el b/calibre.el
index 6e9b69296a..f2238f116c 100644
--- a/calibre.el
+++ b/calibre.el
@@ -36,11 +36,23 @@
   "Interact with a Calibre library."
   :group 'emacs)
 
+(defcustom calibre-format-preferences '(pdf epub)
+  "The preference order of file formats."
+  :type '(repeat (symbol :tag "Format"))
+  :package-version '("calibre" . "0.1.0"))
+
 (defcustom calibre-calibredb-executable "calibre"
   "The calibredb executable to use."
   :type 'string
   :package-version '("calibre" . "0.1.0"))
 
+(defcustom calibre-libraries nil
+  "An alist mapping library names to directories."
+  :type '(repeat :tag "Libraries" (cons :tag "Library"
+                                   (string :tag "Name")
+                                   (directory :tag "Location")))
+  :package-version '("calibre" . "0.1.0"))
+
 (defcustom calibre-library-columns '((id . 4)
                                      (title . 35)
                                      (authors . 20)
@@ -67,21 +79,9 @@ column should have."
                   (integer :tag "Width")))
   :package-version '("calibre" . "0.1.0"))
 
-(defcustom calibre-libraries nil
-  "An alist mapping library names to directories."
-  :type '(repeat :tag "Libraries" (cons :tag "Library"
-                                   (string :tag "Name")
-                                   (directory :tag "Location")))
-  :package-version '("calibre" . "0.1.0"))
-
 (defun calibre--library-names ()
   "Return a list of the names of defined libraries."
   (mapcar #'car calibre-libraries))
 
-(defcustom calibre-format-preferences '(pdf epub)
-  "The preference order of file formats."
-  :type '(repeat symbol :tag "Format")
-  :package-version '("calibre" . "0.1.0"))
-
 (provide 'calibre)
 ;;; calibre.el ends here



reply via email to

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