aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaciej Barć <xgqt@gentoo.org>2023-02-10 01:01:11 +0100
committerMaciej Barć <xgqt@gentoo.org>2023-02-10 01:01:11 +0100
commit57db53dd53163e82e594443387e26cfabd42b530 (patch)
treec44f0fd944bb2df389283fe019e2cf6b7df054a2
parentelogt.el: docstring updates (diff)
downloademacs-elogt-57db53dd53163e82e594443387e26cfabd42b530.tar.gz
emacs-elogt-57db53dd53163e82e594443387e26cfabd42b530.tar.bz2
emacs-elogt-57db53dd53163e82e594443387e26cfabd42b530.zip
elogt.el: use faster tabulated-list call
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
-rw-r--r--elogt.el4
1 files 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.