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

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

[elpa] externals/compat 3fa2a7477f 11/13: Avoid failing ":cond"-check if


From: ELPA Syncer
Subject: [elpa] externals/compat 3fa2a7477f 11/13: Avoid failing ":cond"-check if assoc-delete-all is not defined
Date: Sun, 13 Mar 2022 19:57:35 -0400 (EDT)

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

    Avoid failing ":cond"-check if assoc-delete-all is not defined
---
 compat-27.el | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/compat-27.el b/compat-27.el
index 31b6b0eb58..ade4ae9e13 100644
--- a/compat-27.el
+++ b/compat-27.el
@@ -358,7 +358,8 @@ Elements of ALIST that are not conses are ignored."
   :prefix t
   :cond (condition-case nil
             (or (assoc-delete-all nil nil #'ignore) t)
-          (wrong-number-of-arguments nil))
+          (wrong-number-of-arguments nil)
+          (void-function nil))
   (unless test (setq test #'equal))
   (while (and (consp (car alist))
              (funcall test (caar alist) key))



reply via email to

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