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

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

[elpa] externals/calibre 6a7a2344c1 41/76: Initialise tabulated list hea


From: ELPA Syncer
Subject: [elpa] externals/calibre 6a7a2344c1 41/76: Initialise tabulated list header
Date: Thu, 18 May 2023 09:57:44 -0400 (EDT)

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

    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)



reply via email to

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