branch: externals/calibre
commit ed9d39a0ec15c2b13cfe4110429e41ef069e1cf0
Author: Kjartan Oli Agustsson <[email protected]>
Commit: Kjartan Oli Agustsson <[email protected]>
Add default case to calibre-library-mark-unmark
* calibre-library.el (calibre-library-mark-unmark): Add a default case
which just removes the mark.
Without this it was impossible to remove a Delete mark.
---
calibre-library.el | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/calibre-library.el b/calibre-library.el
index 22d5c45372..c28a494ed0 100644
--- a/calibre-library.el
+++ b/calibre-library.el
@@ -172,7 +172,9 @@ are marked return those books otherwise return the book at
point."
((char-equal mark calibre-mark-marker)
(if (calibre-edit-modified-p book)
(calibre-edit-mark-modified book)
- (tabulated-list-put-tag " " t)))))))))
+ (tabulated-list-put-tag " " t)))
+ (t
+ (tabulated-list-put-tag " " t))))))))
(defun calibre-library-unmark-all (&optional mark)
"Clear all marks from the library buffer.