Function: help--filter-info-list

help--filter-info-list is a byte-compiled function defined in help.el.gz.

Signature

(help--filter-info-list INFO-LIST I)

Documentation

Drop the undefined keys.

Source Code

;; Defined in /usr/src/emacs/lisp/help.el.gz
(defun help--filter-info-list (info-list i)
  "Drop the undefined keys."
  (or
   ;; Remove all `undefined' keys.
   (delq nil (mapcar (lambda (x)
                       (unless (help--binding-undefined-p (nth i x)) x))
                     info-list))
   ;; If nothing left, then keep one (the last one).
   (last info-list)))