Function: evil-get-command-property

evil-get-command-property is a byte-compiled function defined in evil-common.el.

Signature

(evil-get-command-property COMMAND PROPERTY &optional DEFAULT)

Documentation

Return the value of Evil PROPERTY of COMMAND.

If the command does not have the property, return DEFAULT. See also evil-get-command-properties.

Source Code

;; Defined in ~/.emacs.d/elpa/evil-20251108.138/evil-common.el
(defun evil-get-command-property (command property &optional default)
  "Return the value of Evil PROPERTY of COMMAND.
If the command does not have the property, return DEFAULT.
See also `evil-get-command-properties'."
  (let ((p (plist-member (evil-command-properties command) property)))
    (if p (cadr p) default)))