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

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

[elpa] externals/calibre e5d853eb32 34/76: Use the -r flag when adding b


From: ELPA Syncer
Subject: [elpa] externals/calibre e5d853eb32 34/76: Use the -r flag when adding books
Date: Thu, 18 May 2023 09:57:43 -0400 (EDT)

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

    Use the -r flag when adding books
    
    * calibre-library.el (calibre-library-add-books): Pass -r to
    calibre-library--execute to make sure directories are processed
    correctly.
---
 calibre-library.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/calibre-library.el b/calibre-library.el
index b24919870d..59a0fb09b0 100644
--- a/calibre-library.el
+++ b/calibre-library.el
@@ -35,7 +35,7 @@
 
 (defun calibre-library-add-books (files)
   "Add FILES to the Calibre library."
-  (calibre-library--execute `("add" ,@(mapcar #'expand-file-name files))))
+  (calibre-library--execute `("add" "-r" ,@(mapcar #'expand-file-name files))))
 
 ;;;###autoload
 (defun calibre-dired-add ()



reply via email to

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