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

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

[elpa] externals/calibre f096edd1d3 03/10: Return list instead of list o


From: ELPA Syncer
Subject: [elpa] externals/calibre f096edd1d3 03/10: Return list instead of list of lists
Date: Thu, 18 May 2023 12:57:31 -0400 (EDT)

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

    Return list instead of list of lists
    
    * calibre-db.el (calibre-db--get-authors): Flatten result list.
---
 calibre-db.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/calibre-db.el b/calibre-db.el
index 345b9fd36b..0ea6b2336a 100644
--- a/calibre-db.el
+++ b/calibre-db.el
@@ -90,8 +90,8 @@ WHERE books.id = ?"
 
 (defun calibre-db--get-authors ()
   "Return a list of the authors in the active library."
-  (sqlite-select (calibre--db)
-                               "SELECT name FROM authors;"))
+  (flatten-list (sqlite-select (calibre--db)
+                               "SELECT name FROM authors;")))
 
 (defun calibre-db--get-series ()
   "Return a list of the series in the active library."



reply via email to

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