branch: externals/calibre
commit 090b28d6ec76a45e1550f38eb4dc59ac2cccb639
Author: Kjartan Óli Ágústsson <[email protected]>
Commit: Kjartan Óli Ágústsson <[email protected]>
Use int-to-string instead of format
* calibre-edit.el (calibre-edit--command): Use int-to-string instead
of (format "%d" ...).
---
calibre-edit.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/calibre-edit.el b/calibre-edit.el
index 53a90862d2..7327a4a976 100644
--- a/calibre-edit.el
+++ b/calibre-edit.el
@@ -83,7 +83,7 @@
(series-index
(calibre-book-series-index book))
(tags (string-join
(calibre-book-tags book) ","))))))
(calibre-edit--different-fields book
(calibre-edit--find-original book))))
- ,(format "%d" (calibre-book-id book))))
+ ,(int-to-string (calibre-book-id book))))
(defun calibre-edit-commit-edits (books)
"Commit edits to BOOKS to disk."