|
From: | Stefan Monnier |
Subject: | bug#38195: 27.0.50; `edebug-remove-instrumentation' doesn't work for adviced functions |
Date: | Sun, 17 Nov 2019 11:04:34 -0500 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) |
> + (pcase (symbol-function symbol) > + ((or (and `(macro . ,(and (pred advice--p) ad)) (let was-macro t)) > + (and (pred advice--p) ad (let was-macro nil))) I don't think you need the `advice--p` here since `advice--cd*r` uses the `*` meaning of regexps: "*zero* or more". > + ;; `defalias' takes care of any advises so we can just strip them Actually, you *have* to strip them (otherwise you'd end up copying them). Stefan
[Prev in Thread] | Current Thread | [Next in Thread] |