Function: rx--make-named-binding

rx--make-named-binding is a byte-compiled function defined in rx.el.gz.

Signature

(rx--make-named-binding BINDSPEC)

Documentation

Make a definitions entry out of BINDSPEC.

BINDSPEC is on the form (NAME [ARGLIST] DEFINITION).

Source Code

;; Defined in /usr/src/emacs/lisp/emacs-lisp/rx.el.gz
(defun rx--make-named-binding (bindspec)
  "Make a definitions entry out of BINDSPEC.
BINDSPEC is on the form (NAME [ARGLIST] DEFINITION)."
  (unless (consp bindspec)
    (error "Bad `rx-let' binding: %S" bindspec))
  (cons (car bindspec)
        (rx--make-binding (car bindspec) (cdr bindspec))))