Function: evil-ex-completed-binding

evil-ex-completed-binding is a byte-compiled function defined in evil-ex.el.

Signature

(evil-ex-completed-binding COMMAND &optional NOERROR)

Documentation

Return the final binding of the completion of COMMAND.

Source Code

;; Defined in ~/.emacs.d/elpa/evil-20251108.138/evil-ex.el
(defun evil-ex-completed-binding (command &optional noerror)
  "Return the final binding of the completion of COMMAND."
  (let ((completion (try-completion command evil-ex-commands)))
    (evil-ex-binding (if (eq completion t) command
                       (or completion command))
                     noerror)))