branch: externals/tomelr
commit d86fd721ce4746550038e53dffe34885b06e9225
Author: Kaushal Modi <kaushal.m...@gmail.com>
Commit: Kaushal Modi <kaushal.m...@gmail.com>

    fix: Compatibility for emacs 26.3
    
    listp also works instead of proper-list-p here. So use that instead.
    
    proper-list-p was introduced in emacs 27.x.
---
 tomelr.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tomelr.el b/tomelr.el
index 6d9d9ffee0..e84c96b10d 100644
--- a/tomelr.el
+++ b/tomelr.el
@@ -311,7 +311,7 @@ Definition of a TOML Table Array (TTA):
 
 - OBJECT is TTA if it is of type ((TT1) (TT2) ..) where each element is a
   TOML Table (TT)."
-  (when (or (proper-list-p object)
+  (when (or (listp object)
             (vectorp object))
     (seq-every-p
      (lambda (elem) (tomelr--toml-table-p elem))

Reply via email to