Function: rx--expand-def-symbol

rx--expand-def-symbol is a byte-compiled function defined in rx.el.gz.

Signature

(rx--expand-def-symbol SYMBOL)

Documentation

SYM expanded (once) if a user-defined name; otherwise nil.

Source Code

;; Defined in /usr/src/emacs/lisp/emacs-lisp/rx.el.gz
(defun rx--expand-def-symbol (symbol)
  "SYM expanded (once) if a user-defined name; otherwise nil."
  (let ((def (rx--lookup-def symbol)))
    (and def
         (if (cdr def)
             (error "Not an `rx' symbol definition: %s" symbol)
           (car def)))))