branch: externals/calibre
commit a8aa63fffdde320a2198078521c79d6e31cfe800
Author: Kjartan Oli Agustsson <[email protected]>
Commit: Kjartan Oli Agustsson <[email protected]>
Use string-to-number instead of cl-parse-integer
* calibre-cli.el (calibre-cli--search-operation): Call
string-to-number instead of cl-parse-integer.
---
calibre-cli.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/calibre-cli.el b/calibre-cli.el
index 8f948b1e29..f639f467eb 100644
--- a/calibre-cli.el
+++ b/calibre-cli.el
@@ -112,7 +112,7 @@ DOCSTRING is the docstring of the created function."
"--with-library"
(calibre--library)
(format ,(format "%s%%s%%s" field ) (if fuzzy-match ":"
":=") ,field))
- (mapcar #'cl-parse-integer
+ (mapcar #'string-to-number
(string-split
(buffer-substring-no-properties (point-min) (point-max))
",")))))