Variable: map--plist-has-predicate

map--plist-has-predicate is a variable defined in map.el.gz.

Value

t

Documentation

Non-nil means plist-get & co. accept a predicate in Emacs 29+.

Note that support for this predicate in map.el is patchy and deprecated.

Source Code

;; Defined in /usr/src/emacs/lisp/emacs-lisp/map.el.gz
(defconst map--plist-has-predicate
  (condition-case nil
      (with-no-warnings (plist-get () nil #'eq) t)
    (wrong-number-of-arguments))
  "Non-nil means `plist-get' & co. accept a predicate in Emacs 29+.
Note that support for this predicate in map.el is patchy and
deprecated.")