branch: externals/calibre
commit 4e4bf841cb40518cbc544f1068348f9ee65efd7e
Author: Kjartan Óli Ágústsson <[email protected]>
Commit: Kjartan Óli Ágústsson <[email protected]>

    Rename calibre-make-book
    
    * calibre-db.el (calibre-make-book, calibre-db--get-books): Rename
    calibre-make-book to calibre-db--get-books.
---
 calibre-db.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/calibre-db.el b/calibre-db.el
index 051ad55927..f5af9f2833 100644
--- a/calibre-db.el
+++ b/calibre-db.el
@@ -28,7 +28,7 @@
 (require 'calibre-book)
 (require 'calibre-util)
 
-(defun calibre-make-book (entry)
+(defun calibre-db--make-book (entry)
   "Create a `calibre-book' from ENTRY.
 ENTRY is a list of the form:
 \(ID TITLE SERIES SERIES-INDEX TIMESTAMP PUBDATE LAST-MODIFIED)."
@@ -131,7 +131,7 @@ WHERE books.id = ?"
   "Return all books in the Calibre library `calibre-library-dir'."
   (if (not (calibre--db))
       nil
-    (mapcar #'calibre-make-book
+    (mapcar #'calibre-db--make-book
             (sqlite-select (calibre--db)
                            "SELECT books.id, title, series.name, series_index, 
timestamp, pubdate, last_modified, path
 FROM books

Reply via email to