[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
- [elpa] externals/calibre b7d6dd90f1 57/76: Add customisation types to book slots, (continued)
- [elpa] externals/calibre b7d6dd90f1 57/76: Add customisation types to book slots, ELPA Syncer, 2023/05/18
- [elpa] externals/calibre 4e4bf841cb 59/76: Rename calibre-make-book, ELPA Syncer, 2023/05/18
- [elpa] externals/calibre 832e91827d 63/76: Move calibre--library to calibre-util, ELPA Syncer, 2023/05/18
- [elpa] externals/calibre b43ab3a90c 73/76: Allow overriding format preferences, ELPA Syncer, 2023/05/18
- [elpa] externals/calibre 2b64cb76ad 49/76: Add support for displaying publication date, ELPA Syncer, 2023/05/18
- [elpa] externals/calibre ca0ae8a1d3 74/76: Pick some format if no preferred format is available, ELPA Syncer, 2023/05/18
- [elpa] externals/calibre c6cb36b0a3 17/76: Fix byte-compiler warnings, ELPA Syncer, 2023/05/18
- [elpa] externals/calibre 8c791fb915 05/76: Add missing sort by series function, ELPA Syncer, 2023/05/18
- [elpa] externals/calibre 360fbf15cb 02/76: Fix defcustom version strings, ELPA Syncer, 2023/05/18
- [elpa] externals/calibre 76427bf5be 07/76: Allow customisation of the columns of the library buffer, ELPA Syncer, 2023/05/18
- [elpa] externals/calibre d8682121d8 23/76: Reorder variable declarations,
ELPA Syncer <=
- [elpa] externals/calibre a750735b89 33/76: Add ability to revert Library buffer, ELPA Syncer, 2023/05/18
- [elpa] externals/calibre b2c34a58d4 44/76: Use the right column name in query, ELPA Syncer, 2023/05/18
- [elpa] externals/calibre 7a8ed52e86 51/76: Set revert-buffer-function instead of using revert hooks, ELPA Syncer, 2023/05/18
- [elpa] externals/calibre 521fc7471b 66/76: Add faces to make library buffer easier to parse, ELPA Syncer, 2023/05/18
- [elpa] externals/calibre 8ae08bd7fb 68/76: Update README, ELPA Syncer, 2023/05/18
- [elpa] externals/calibre 5e81e98079 18/76: Add README, ELPA Syncer, 2023/05/18
- [elpa] externals/calibre bdb11248c9 20/76: Move metadata into calibre.el, ELPA Syncer, 2023/05/18
- [elpa] externals/calibre 1c0bf191d5 35/76: Refresh Library buffer when calibre-library-columns is changed, ELPA Syncer, 2023/05/18
- [elpa] externals/calibre c644d0761d 40/76: Slight improvement to README, ELPA Syncer, 2023/05/18
- [elpa] externals/calibre be94be6962 46/76: Add ability to filter by series and format, ELPA Syncer, 2023/05/18