[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/compat 12f7a726b8 11/14: Remove compat--internal-func-a
From: |
ELPA Syncer |
Subject: |
[elpa] externals/compat 12f7a726b8 11/14: Remove compat--internal-func-arity |
Date: |
Tue, 3 Jan 2023 13:57:27 -0500 (EST) |
branch: externals/compat
commit 12f7a726b8ef2b0a8b437dd69043acebd79bdd92
Author: Daniel Mendler <mail@daniel-mendler.de>
Commit: Daniel Mendler <mail@daniel-mendler.de>
Remove compat--internal-func-arity
---
compat-26.el | 7 +++----
compat-29.el | 2 +-
2 files changed, 4 insertions(+), 5 deletions(-)
diff --git a/compat-26.el b/compat-26.el
index 5aabb89513..6f88888810 100644
--- a/compat-26.el
+++ b/compat-26.el
@@ -44,14 +44,13 @@ FUNC must be a function of some kind.
The returned value is a cons cell (MIN . MAX). MIN is the minimum number
of args. MAX is the maximum number, or the symbol `many', for a
function with `&rest' args, or `unevalled' for a special form."
- :realname compat--internal-func-arity
(cond
((or (null func) (and (symbolp func) (not (fboundp func))))
(signal 'void-function func))
((and (symbolp func) (not (null func)))
- (compat--internal-func-arity (symbol-function func)))
+ (func-arity (symbol-function func)))
((eq (car-safe func) 'macro)
- (compat--internal-func-arity (cdr func)))
+ (func-arity (cdr func)))
((subrp func)
(subr-arity func))
((memq (car-safe func) '(closure lambda))
@@ -106,7 +105,7 @@ function with `&rest' args, or `unevalled' for a special
form."
(cons mandatory (if arglist 'many nonrest))))
((autoloadp func)
(autoload-do-load func)
- (compat--internal-func-arity func))
+ (func-arity func))
((signal 'invalid-function func))))
;;;; Defined in fns.c
diff --git a/compat-29.el b/compat-29.el
index abeb924c55..068904f96c 100644
--- a/compat-29.el
+++ b/compat-29.el
@@ -296,7 +296,7 @@ CONDITION is either:
((stringp condition)
(string-match-p condition (buffer-name buffer)))
((functionp condition)
- (if (eq 1 (cdr (compat--internal-func-arity condition)))
+ (if (eq 1 (cdr (func-arity condition)))
(funcall condition buffer)
(funcall condition buffer arg)))
((eq (car-safe condition) 'major-mode)
- [elpa] externals/compat updated (438d683afd -> 71928153bd), ELPA Syncer, 2023/01/03
- [elpa] externals/compat 4bc08592c1 09/14: Remove compat--internal-buffer-match-p, ELPA Syncer, 2023/01/03
- [elpa] externals/compat 12f7a726b8 11/14: Remove compat--internal-func-arity,
ELPA Syncer <=
- [elpa] externals/compat 661dd7f0a5 08/14: Remove compat--internal-buffer-text-pixel-size, ELPA Syncer, 2023/01/03
- [elpa] externals/compat 239e45d33c 12/14: file-name-quoted-p and file-name-quote must be prefixed, ELPA Syncer, 2023/01/03
- [elpa] externals/compat 494da3f7dc 01/14: Disallow :realname to equal compat--<name>, ELPA Syncer, 2023/01/03
- [elpa] externals/compat bb25afc191 03/14: Remove compat--internal-provided-mode-derived-p, ELPA Syncer, 2023/01/03
- [elpa] externals/compat 4512cd5ab1 13/14: Remove :realname from proper-list-p, ELPA Syncer, 2023/01/03
- [elpa] externals/compat 6638a73cbd 10/14: Remove compat--internal-directory-files-recursively, ELPA Syncer, 2023/01/03
- [elpa] externals/compat d0f3f4ad6e 05/14: Remove compat--internal-exec-path, ELPA Syncer, 2023/01/03
- [elpa] externals/compat 177deb51ef 02/14: Get rid of compat--internal-directory-name-p, ELPA Syncer, 2023/01/03
- [elpa] externals/compat 7dd449e0b1 07/14: Remove compat--internal-key* functions, ELPA Syncer, 2023/01/03
- [elpa] externals/compat 268eb0bc22 04/14: Remove compat--internal-file-local-name, ELPA Syncer, 2023/01/03