Function: package-keyword-button-action

package-keyword-button-action is a byte-compiled function defined in package.el.gz.

Signature

(package-keyword-button-action BUTTON)

Documentation

Show filtered "*Packages*" buffer for BUTTON.

The buffer is filtered by the package-keyword property of BUTTON. Used for the action property of buttons in the buffer created by describe-package.

Source Code

;; Defined in /usr/src/emacs/lisp/emacs-lisp/package.el.gz
(defun package-keyword-button-action (button)
  "Show filtered \"*Packages*\" buffer for BUTTON.
The buffer is filtered by the `package-keyword' property of BUTTON.
Used for the `action' property of buttons in the buffer created by
`describe-package'."
  (let ((pkg-keyword (button-get button 'package-keyword)))
    (package-show-package-list t (list pkg-keyword))))