]> git.eshelyaron.com Git - emacs.git/commit
Speed up list-packages when 'visual' line numbers are displayed
authorEli Zaretskii <eliz@gnu.org>
Thu, 5 Oct 2017 09:41:36 +0000 (12:41 +0300)
committerEli Zaretskii <eliz@gnu.org>
Thu, 5 Oct 2017 09:41:36 +0000 (12:41 +0300)
commit3c4ff63bea662e2b89853894c5da69002a61ed5b
tree922f65b677e8d48f2b046338c9350f8826dda3b5
parent7a1133f1ff002943ce32b5a05a7261bba520288c
Speed up list-packages when 'visual' line numbers are displayed

* lisp/emacs-lisp/tabulated-list.el (tabulated-list-printer):
Update the doc string.
(tabulated-list-print-entry): Accept an additional optional
argument INDENT.  Update the doc string.
(tabulated-list-print): Compute the width of line-number display
once, then call tabulated-list-printer with that value as 3rd
argument.  (Bug#28704)
lisp/emacs-lisp/tabulated-list.el