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

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

[elpa] externals/compat 2b7780a496 2/4: Delete compat-maxargs-/=


From: ELPA Syncer
Subject: [elpa] externals/compat 2b7780a496 2/4: Delete compat-maxargs-/=
Date: Mon, 7 Mar 2022 09:57:22 -0500 (EST)

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

    Delete compat-maxargs-/=
    
    As this function was only used by the deleted advice compatibility
    code, it can be deleted.
---
 compat.el | 7 -------
 1 file changed, 7 deletions(-)

diff --git a/compat.el b/compat.el
index 307bd638cf..a92102d29b 100644
--- a/compat.el
+++ b/compat.el
@@ -43,13 +43,6 @@
 
 ;;;; Core functionality
 
-(eval-and-compile
-  (defun compat-maxargs-/= (func n)
-    "Non-nil when FUNC doesn't accept at most N arguments."
-    (condition-case nil
-        (not (eq (cdr (compat-func-arity func)) n))
-      (void-function t))))
-
 ;; To accelerate the loading process, we insert the contents of
 ;; compat-N.M.el directly into the compat.elc.
 (eval-when-compile



reply via email to

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