Function: ad-update-regexp
ad-update-regexp is an interactive and byte-compiled function defined
in advice.el.gz.
Signature
(ad-update-regexp REGEXP &optional COMPILE)
Documentation
Update functions with an advice name containing a REGEXP match.
This reactivates the advice for each function
that has at least one piece of advice whose name includes a match for REGEXP.
See ad-activate for documentation on the optional COMPILE argument.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/emacs-lisp/advice.el.gz
(defun ad-update-regexp (regexp &optional compile)
"Update functions with an advice name containing a REGEXP match.
This reactivates the advice for each function
that has at least one piece of advice whose name includes a match for REGEXP.
See `ad-activate' for documentation on the optional COMPILE argument."
(interactive
(list (ad-read-regexp "Update via advice regexp")
current-prefix-arg))
(ad-do-advised-functions (function)
(if (ad-find-some-advice function 'any regexp)
(ad-update function compile))))