Function: ad-has-proper-definition

ad-has-proper-definition is a byte-compiled function defined in advice.el.gz.

Signature

(ad-has-proper-definition FUNCTION)

Documentation

True if FUNCTION is a symbol with a proper definition.

For that it has to be fbound with a non-autoload definition.

Source Code

;; Defined in /usr/src/emacs/lisp/emacs-lisp/advice.el.gz
   ((ad-advice-p definition) 'advice2))) ;; FIXME: Can this ever happen?

(defun ad-has-proper-definition (function)
  "True if FUNCTION is a symbol with a proper definition.
For that it has to be fbound with a non-autoload definition."
  (and (symbolp function)
       (fboundp function)
       (not (autoloadp (symbol-function function)))))