From 57db53dd53163e82e594443387e26cfabd42b530 Mon Sep 17 00:00:00 2001 From: Maciej Barć Date: Fri, 10 Feb 2023 01:01:11 +0100 Subject: elogt.el: use faster tabulated-list call MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Maciej Barć --- elogt.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/elogt.el b/elogt.el index 1f94e0a..87e7977 100644 --- a/elogt.el +++ b/elogt.el @@ -218,7 +218,7 @@ Return opened buffer (done via `find-file')." (message "Refreshing the ElogT table, please wait...") (setq tabulated-list-entries (elogt--make-log-table-contents)) (tabulated-list-init-header) - (tabulated-list-print t) + (tabulated-list-print 'remember-pos) (message "The ElogT table is ready.")) (defun elogt-sort-package () @@ -255,7 +255,7 @@ using the `string-match', function to the wanted COLUMN-VALUE." (substring-no-properties (aref (cadr entry) column-index)))) tabulated-list-entries)) - (tabulated-list-print t)) + (tabulated-list-print 'remember-pos 'update)) (defun elogt-narrow-priority (selected) "Narrow the ElogT table to a SELECTED Priority. -- cgit v1.2.3-65-gdbad