branch: externals/calibre
commit e01428cf20c97f915613b65ea7c3d173cc31962c
Author: Kjartan Oli Agustsson <[email protected]>
Commit: Kjartan Oli Agustsson <[email protected]>
Create metadata modifier pair for authors as well as tags
* calibre-edit.el: Create metadata modifiers for both authors and
tags.
---
calibre-edit.el | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/calibre-edit.el b/calibre-edit.el
index 7a101dacd5..bf2b154c5d 100644
--- a/calibre-edit.el
+++ b/calibre-edit.el
@@ -155,7 +155,8 @@ function does nothing."
(calibre-edit--metadata-adder ,field)
(calibre-edit--metadata-remover ,field)))
-(calibre-edit--metadata-modifier-pair tags)
+(calibre-util--macro-map
+ calibre-edit--metadata-modifier-pair (tags authors))
(defun calibre-edit-modified-p (book)
"Return non-nil if BOOK has been modified, nil otherwise."
(calibre-edit--find-original book))