Function: cl--macroexp-fboundp

cl--macroexp-fboundp is a byte-compiled function defined in cl-macs.el.gz.

Signature

(cl--macroexp-fboundp SYM)

Documentation

Return non-nil if SYM will be bound when we run the code.

Of course, we really can't know that for sure, so it's just a heuristic.

Source Code

;; Defined in /usr/src/emacs/lisp/emacs-lisp/cl-macs.el.gz
(defun cl--macroexp-fboundp (sym)
  "Return non-nil if SYM will be bound when we run the code.
Of course, we really can't know that for sure, so it's just a heuristic."
  (or (fboundp sym)
      (and (macroexp-compiling-p)
           (or (cdr (assq sym byte-compile-function-environment))
               (cdr (assq sym macroexpand-all-environment))))))