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

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

[elpa] externals/inspector 57b46a3079 38/93: Bug fix


From: ELPA Syncer
Subject: [elpa] externals/inspector 57b46a3079 38/93: Bug fix
Date: Tue, 24 May 2022 18:57:57 -0400 (EDT)

branch: externals/inspector
commit 57b46a3079d7de09b4042e96e240a9ca64d57b82
Author: Mariano Montone <marianomontone@gmail.com>
Commit: Mariano Montone <marianomontone@gmail.com>

    Bug fix
---
 inspector.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/inspector.el b/inspector.el
index f38d67e989..9610dad56f 100644
--- a/inspector.el
+++ b/inspector.el
@@ -40,7 +40,7 @@
 (defun inspector--plistp (list)
   "Return T if LIST is a property list."
   (let ((expected t))
-    (and (listp list)
+    (and (inspector--proper-list-p list)
         (cl-evenp (length list))
          (cl-every (lambda (x)
                      (setq expected (if (eql expected t) 'symbol t))
@@ -49,7 +49,7 @@
 
 (defun inspector--alistp (list)
   "Return T if LIST is an association list."
-  (and (listp list)
+  (and (inspector--proper-list-p list)
        (cl-every (lambda (x) (consp x)) list)))
 
 (defun inspector--alist-to-plist (alist)



reply via email to

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