Function: ad-make-advice
ad-make-advice is a byte-compiled function defined in advice.el.gz.
Signature
(ad-make-advice NAME PROTECT ENABLE DEFINITION)
Documentation
Constructs single piece of advice to be stored in some advice-info.
NAME should be a non-nil symbol, PROTECT and ENABLE should each be
either t or nil, and DEFINITION should be a list of the form
(advice lambda ARGLIST [DOCSTRING] [INTERACTIVE-FORM] BODY...).
Source Code
;; Defined in /usr/src/emacs/lisp/emacs-lisp/advice.el.gz
;; @@ Access fns for single pieces of advice and related predicates:
;; =================================================================
(defun ad-make-advice (name protect enable definition)
"Constructs single piece of advice to be stored in some advice-info.
NAME should be a non-nil symbol, PROTECT and ENABLE should each be
either t or nil, and DEFINITION should be a list of the form
`(advice lambda ARGLIST [DOCSTRING] [INTERACTIVE-FORM] BODY...)'."
(list name protect enable definition))