[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/compat 47475cacfa 3/6: proper-list-p: Use simpler defin
From: |
ELPA Syncer |
Subject: |
[elpa] externals/compat 47475cacfa 3/6: proper-list-p: Use simpler definition from org-compat |
Date: |
Wed, 4 Jan 2023 18:57:26 -0500 (EST) |
branch: externals/compat
commit 47475cacfaa3445ec96f5bd0fbef7d3ffdac0d6a
Author: Daniel Mendler <mail@daniel-mendler.de>
Commit: Daniel Mendler <mail@daniel-mendler.de>
proper-list-p: Use simpler definition from org-compat
---
compat-27.el | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/compat-27.el b/compat-27.el
index 80684e1e46..43cfabbfb5 100644
--- a/compat-27.el
+++ b/compat-27.el
@@ -34,10 +34,7 @@ A proper list is neither circular nor dotted (i.e., its last
cdr
is nil)."
:min-version "26.1"
:max-version "26.3"
- (condition-case nil
- (and (listp object) (length object)) ;; Throws a signal
- (wrong-type-argument nil)
- (circular-list nil)))
+ (and (listp object) (ignore-errors (length object))))
(compat-defun proper-list-p (object) ;; <OK>
"Return OBJECT's length if it is a proper list, nil otherwise.
- [elpa] externals/compat updated (fecfefef40 -> 4aab3bd2cc), ELPA Syncer, 2023/01/04
- [elpa] externals/compat 95a35c15de 4/6: prop-match tests, ELPA Syncer, 2023/01/04
- [elpa] externals/compat 4aab3bd2cc 6/6: Remove nadvice from Package-Requires, ELPA Syncer, 2023/01/04
- [elpa] externals/compat 47475cacfa 3/6: proper-list-p: Use simpler definition from org-compat,
ELPA Syncer <=
- [elpa] externals/compat 0cb53e517f 5/6: Fix prop-match-p, ELPA Syncer, 2023/01/04
- [elpa] externals/compat 2e6f7b14ae 1/6: Add ignore-error test, ELPA Syncer, 2023/01/04
- [elpa] externals/compat 21533c286e 2/6: Add function-put test, ELPA Syncer, 2023/01/04