Function: hydra-plist-get-default

hydra-plist-get-default is a byte-compiled function defined in hydra.el.

Signature

(hydra-plist-get-default PLIST PROP DEFAULT)

Documentation

Extract a value from a property list.

PLIST is a property list, which is a list of the form
(PROP1 VALUE1 PROP2 VALUE2...).

Return the value corresponding to PROP, or DEFAULT if PROP is not one of the properties on the list.

Source Code

;; Defined in ~/.emacs.d/elpa/hydra-20250316.1254/hydra.el
(defun hydra-plist-get-default (plist prop default)
  "Extract a value from a property list.
PLIST is a property list, which is a list of the form
\(PROP1 VALUE1 PROP2 VALUE2...).

Return the value corresponding to PROP, or DEFAULT if PROP is not
one of the properties on the list."
  (if (memq prop plist)
      (plist-get plist prop)
    default))