Function: package-desc--keywords

package-desc--keywords is a byte-compiled function defined in package.el.gz.

Signature

(package-desc--keywords PKG-DESC)

Documentation

Return keywords of package-desc object PKG-DESC.

These keywords come from the foo-pkg.el file, and in general corresponds to the keywords in the "Keywords" header of the package.

Source Code

;; Defined in /usr/src/emacs/lisp/emacs-lisp/package.el.gz
(defun package-desc--keywords (pkg-desc)
  "Return keywords of package-desc object PKG-DESC.
These keywords come from the foo-pkg.el file, and in general
corresponds to the keywords in the \"Keywords\" header of the
package."
  (let ((keywords (cdr (assoc :keywords (package-desc-extras pkg-desc)))))
    (if (eq (car-safe keywords) 'quote)
        (nth 1 keywords)
      keywords)))