branch: externals/calibre
commit 6a7a2344c1388657ee512079489814108b33e81f
Author: Kjartan Óli Ágústsson <[email protected]>
Commit: Kjartan Óli Ágústsson <[email protected]>
Initialise tabulated list header
* calibre-db.el (calibre-library--set-header):
Call tabulated-list-init-header.
---
calibre-db.el | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/calibre-db.el b/calibre-db.el
index df24d3b511..5ced64be90 100644
--- a/calibre-db.el
+++ b/calibre-db.el
@@ -158,7 +158,8 @@ If FORCE is non-nil fetch book data from the database."
(let ((buffer (get-buffer calibre-library-buffer)))
(when buffer
(with-current-buffer buffer
- (setf tabulated-list-format (calibre-library--header-format))))))
+ (setf tabulated-list-format (calibre-library--header-format))
+ (tabulated-list-init-header)))))
(defcustom calibre-library-columns '((id . 4)
(title . 35)