2006-05-24 Richard Stallman <rms@gnu.org>
+ * emacs-lisp/advice.el (ad-enable-advice, ad-activate)
+ (ad-disable-advice): Add autoloads.
+
* subr.el (read-passwd): Copy PROMPT before changing its properties.
2006-05-25 Mathias Dahl <mathias.dahl@gmail.com>
(ad-advice-set-enabled advice flag))))))
matched-advices)))
+;;;###autoload
(defun ad-enable-advice (function class name)
"Enables the advice of FUNCTION with CLASS and NAME."
(interactive (ad-read-advice-specification "Enable advice of"))
function class name))
(error "ad-enable-advice: `%s' is not advised" function)))
+;;;###autoload
(defun ad-disable-advice (function class name)
"Disable the advice of FUNCTION with CLASS and NAME."
(interactive (ad-read-advice-specification "Disable advice of"))
;; @@ The top-level advice interface:
;; ==================================
+;;;###autoload
(defun ad-activate (function &optional compile)
"Activate all the advice information of an advised FUNCTION.
If FUNCTION has a proper original definition then an advised