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

    Don't use message to format string
    
    * calibre-db.el (calibre-book--file): Don't use message where format
    should be used.
    Remove debugging message.
---
 calibre-db.el | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/calibre-db.el b/calibre-db.el
index 691186a9ed..4d1864bf63 100644
--- a/calibre-db.el
+++ b/calibre-db.el
@@ -378,10 +378,9 @@ BOOK is a `calibre-book'."
 (defun calibre-book--file (book format)
   "Return the path to BOOK in FORMAT."
   (with-slots (path file-name) book
-    (message "%S" file-name)
     (file-name-concat (calibre--library)
                       path
-                      (message "%s.%s" file-name format))))
+                      (format "%s.%s" file-name format))))
 
 (provide 'calibre-db)
 ;;; calibre-db.el ends here

Reply via email to