Support filtering by keywords in package listings.
authorTed Zlatanov <tzz@lifelogs.com>
Sat, 14 Dec 2013 19:55:19 +0000 (14:55 -0500)
committerTed Zlatanov <tzz@lifelogs.com>
Sat, 14 Dec 2013 19:55:19 +0000 (14:55 -0500)
commit5ae811ddef14ea1989088c259a9ed2d14d5332b4
treecbe7a4ec4c082f4f8d1e9f0a959632b28d9e0ca5
parent2897da4d7be9f0082e88140ef2de2c463d62fea7
Support filtering by keywords in package listings.

* emacs-lisp/package.el (package-built-in-p): Support both
built-in and the package.el converted package descriptions.
(package-show-package-list): Allow keywords.
(package-keyword-button-action): Use it instead of
`finder-list-matches'.
(package-menu-filter-interactive): Interactive filtering (by
keyword) function.
(package-menu--generate): Support keywords and change keymappings
and headers when they are given.
(package--has-keyword-p): Helper function.
(package-menu--refresh): Use it.
(package--mapc): Helper function.
(package-all-keywords): Use it.
(package-menu-mode-map): Set up menu items and keybindings to
provide a filtering UI.
lisp/ChangeLog
lisp/emacs-lisp/package.el