Function: mode-local--overload-body

mode-local--overload-body is a byte-compiled function defined in mode-local.el.gz.

Signature

(mode-local--overload-body NAME ARGS BODY)

Documentation

Return the code that implements overloading of function NAME.

ARGS are the arguments to the function NAME. BODY specifies the overload code. See also the function define-overload.

Source Code

;; Defined in /usr/src/emacs/lisp/cedet/mode-local.el.gz
(defun mode-local--overload-body (name args body)
  "Return the code that implements overloading of function NAME.
ARGS are the arguments to the function NAME.
BODY specifies the overload code.
See also the function `define-overload'."
  (let ((result (mode-local--expand-overrides name args body)))
    (if (eq body result)
        (list (mode-local--override name args body))
      result)))