Function: evil-ex-command-force-p

evil-ex-command-force-p is a byte-compiled function defined in evil-ex.el.

This function is obsolete since 1.15.0; use evil-get-command-property instead.

Signature

(evil-ex-command-force-p COMMAND)

Documentation

Whether COMMAND accepts the bang argument.

Source Code

;; Defined in ~/.emacs.d/elpa/evil-20251108.138/evil-ex.el
(defun evil-ex-command-force-p (command)
  "Whether COMMAND accepts the bang argument."
  (declare (obsolete evil-get-command-property "1.15.0"))
  (let ((binding (evil-ex-completed-binding command t)))
    (when binding
      (evil-get-command-property binding :ex-bang))))