Function: ert--significant-plist-keys

ert--significant-plist-keys is a byte-compiled function defined in ert.el.gz.

Signature

(ert--significant-plist-keys PLIST)

Documentation

Return the keys of PLIST that have non-null values, in order.

Source Code

;; Defined in /usr/src/emacs/lisp/emacs-lisp/ert.el.gz
(defun ert--significant-plist-keys (plist)
  "Return the keys of PLIST that have non-null values, in order."
  (cl-assert (evenp (length plist)) t)
  (cl-loop for (key value . rest) on plist by #'cddr
           unless (or (null value) (memq key accu)) collect key into accu
           finally (cl-return accu)))