We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eb574f8 commit d40e391Copy full SHA for d40e391
helpful.el
@@ -1778,9 +1778,7 @@ Each advice is returned as a list (WHERE FUNC)."
1778
(push (list
1779
;; This can also be done with `advice--where', but that
1780
;; isn't available in Emacs 25
1781
- (car
1782
- (--last (eq (aref func 1) (cadr it))
1783
- advice--where-alist))
+ (advice--how func)
1784
(advice--car func))
1785
result))
1786
(setq func (advice--cdr func)))
@@ -2675,7 +2673,7 @@ state of the current symbol."
2675
2673
"Remove mentions of advice from DOCSTRING."
2676
2674
(let* ((lines (s-lines docstring))
2677
(where-types (--map (symbol-name (car it))
2678
+ advice--how-alist))
2679
(relevant-lines
2680
(--remove
2681
(s-matches-p
0 commit comments