1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-15 10:30:25 -08:00

Improve support of display-line-numbers in package.el

* lisp/emacs-lisp/package.el (package-menu--refresh): Redisplay
the header.  (Bug#27895)
* lisp/emacs-lisp/tabulated-list.el
(tabulated-list-line-number-width): Fix the case when
display-line-numbers is nil.
This commit is contained in:
Eli Zaretskii 2017-08-19 14:05:51 +03:00
parent 5070717802
commit 2c77213738
2 changed files with 8 additions and 5 deletions

View file

@ -2751,6 +2751,7 @@ KEYWORDS should be nil or a list of keywords."
(push pkg info-list))))))
;; Print the result.
(tabulated-list-init-header)
(setq tabulated-list-entries
(mapcar #'package-menu--print-info-simple info-list))))