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

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

[elpa] externals/calibre 090b28d6ec 69/76: Use int-to-string instead of


From: ELPA Syncer
Subject: [elpa] externals/calibre 090b28d6ec 69/76: Use int-to-string instead of format
Date: Thu, 18 May 2023 09:57:46 -0400 (EDT)

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

    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."



reply via email to

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