emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/compat 4513631 70/99: Fix compat-func-arity advice hand


From: ELPA Syncer
Subject: [elpa] externals/compat 4513631 70/99: Fix compat-func-arity advice handling
Date: Sun, 17 Oct 2021 05:57:59 -0400 (EDT)

branch: externals/compat
commit 4513631d8537e5aef2a10410a42ecc4c9acaba6d
Author: Philip Kaludercic <philipk@posteo.net>
Commit: Philip Kaludercic <philipk@posteo.net>

    Fix compat-func-arity advice handling
    
    It seems I accidentally left alist-get in while debugging.
---
 compat.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/compat.el b/compat.el
index cc5adee..7b74daa 100644
--- a/compat.el
+++ b/compat.el
@@ -59,7 +59,7 @@ advice."
    ((and handle-advice
          (featurep 'nadvice)
          (advice--p func))
-    (let* ((adv (advice--car (symbol-function #'alist-get)))
+    (let* ((adv (advice--car (symbol-function func)))
            (arity (compat-func-arity adv)))
       (cons (1- (car arity))
             (if (numberp (cdr arity))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]