branch: externals/compat
commit 2b7780a4966ef17e9f506c3cf5a8f42ce31d2db2
Author: Philip Kaludercic <phil...@posteo.net>
Commit: Philip Kaludercic <phil...@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