Function: combobulate-envelope-get-shorthand-procedure

combobulate-envelope-get-shorthand-procedure is a natively compiled function defined in combobulate-envelope.el.

Signature

(combobulate-envelope-get-shorthand-procedure SHORTHAND)

Documentation

Get the procedure given a SHORTHAND.

Raise an error if the SHORTHAND is not valid.

Source Code

;; Defined in /nix/store/b5fvrwzi3zvkabyzx0in6gw1cj963z46-emacs-packages-deps/share/emacs/site-lisp/combobulate-envelope.el
(defun combobulate-envelope-get-shorthand-procedure (shorthand)
  "Get the procedure given a SHORTHAND.

Raise an error if the SHORTHAND is not valid."
  (let ((procedure (alist-get shorthand (combobulate-read envelope-procedure-shorthand-alist))))
    (unless procedure
      (error "Shorthand `%s' is not valid." shorthand))
    procedure))