Function: comp--add-func-to-ctxt

comp--add-func-to-ctxt is a byte-compiled function defined in comp.el.gz.

Signature

(comp--add-func-to-ctxt FUNC)

Documentation

Add FUNC to the current compiler context.

Source Code

;; Defined in /usr/src/emacs/lisp/emacs-lisp/comp.el.gz
(defun comp--add-func-to-ctxt (func)
  "Add FUNC to the current compiler context."
  (let ((name (comp-func-name func))
        (c-name (comp-func-c-name func)))
    (puthash name c-name (comp-ctxt-sym-to-c-name-h comp-ctxt))
    (puthash c-name func (comp-ctxt-funcs-h comp-ctxt))))