Function: comp--func-unique-in-cu-p

comp--func-unique-in-cu-p is a byte-compiled function defined in comp.el.gz.

Signature

(comp--func-unique-in-cu-p FUNC)

Documentation

Return t if FUNC is known to be unique in the current compilation unit.

Source Code

;; Defined in /usr/src/emacs/lisp/emacs-lisp/comp.el.gz
(defun comp--func-unique-in-cu-p (func)
  "Return t if FUNC is known to be unique in the current compilation unit."
  (if (symbolp func)
      (cl-loop for f being the hash-value in (comp-ctxt-funcs-h comp-ctxt)
               count (eq func (comp-func-name f)) into n
               when (> n 1) return nil
               finally return t)
    t))