branch: externals/calibre
commit e2863a9d6ac07c7bda6987cfce7f6cd541a3cb0b
Author: Kjartan Óli Ágústsson <[email protected]>
Commit: Kjartan Óli Ágústsson <[email protected]>
Fix byte compiler warning
* calibre-util.el (calibre--library): Move further up in the file to
prevent a byte compiler warning.
* calibre.el: Bump package version
---
calibre-util.el | 6 +++---
calibre.el | 2 +-
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/calibre-util.el b/calibre-util.el
index 59ed2c1604..20955ad919 100644
--- a/calibre-util.el
+++ b/calibre-util.el
@@ -36,6 +36,9 @@ If FORCE is non-nil the list is refreshed from the database."
(setf calibre--books (calibre-db--get-books)))
calibre--books)
+(defvar calibre--library nil
+ "The active library.")
+
(defun calibre-select-library (&optional library)
"Prompt the user to select a library from `calibre-libraries'.
If LIBRARY is non-nil, select that instead."
@@ -47,9 +50,6 @@ If LIBRARY is non-nil, select that instead."
calibre--books nil)
(calibre-library--refresh t))
-(defvar calibre--library nil
- "The active library.")
-
(defun calibre--library ()
"Return the active library.
If no library is active, prompt the user to select one."
diff --git a/calibre.el b/calibre.el
index f9e2a5abd5..1727c1aa27 100644
--- a/calibre.el
+++ b/calibre.el
@@ -4,7 +4,7 @@
;; Author: Kjartan Oli Agustsson <[email protected]>
;; Maintainer: Kjartan Oli Agustsson <[email protected]>
-;; Version: 1.0.2
+;; Version: 1.0.3
;; Package-Requires: ((emacs "29.1"))
;; URL: https://git.disroot.org/kjartanoli/calibre.el