[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/parseedn 7f38ea08b4 3/6: Fix empty hash
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/parseedn 7f38ea08b4 3/6: Fix empty hash |
Date: |
Fri, 20 May 2022 04:59:02 -0400 (EDT) |
branch: elpa/parseedn
commit 7f38ea08b44691bd9ee13d3d539f2c9380d5c07f
Author: tmpUser2022 <98637343+tmpUser2022@users.noreply.github.com>
Commit: GitHub <noreply@github.com>
Fix empty hash
Before: `(parseedn-print-str #s(hash-table size 0 data ())) ;; => "{nil
nil}"`
After: `(parseedn-print-str #s(hash-table size 0 data ())) ;; => "{}"`
---
parseedn.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/parseedn.el b/parseedn.el
index 1e06e54218..6e93399f91 100644
--- a/parseedn.el
+++ b/parseedn.el
@@ -165,7 +165,7 @@ TAG-READERS is an optional association list. For more
information, see
(defun parseedn-print-hash-or-alist (map &optional ks)
"Insert hash table MAP or elisp alist as an EDN map into the current buffer."
- (let ((keys (or ks (map-keys map))))
+ (when-let ((keys (or ks (map-keys map))))
(parseedn-print (car keys))
(insert " ")
(parseedn-print (map-elt map (car keys)))
- [nongnu] elpa/parseedn updated (35e9f3173a -> a09686fbb9), ELPA Syncer, 2022/05/20
- [nongnu] elpa/parseedn 7b888171de 2/6: add empty sequences test, ELPA Syncer, 2022/05/20
- [nongnu] elpa/parseedn a09686fbb9 6/6: Merge pull request #14 from tmpUser2022/iterative-parseedn-print-seq, ELPA Syncer, 2022/05/20
- [nongnu] elpa/parseedn b399b72a8e 1/6: Iterative parseedn-print-seq, ELPA Syncer, 2022/05/20
- [nongnu] elpa/parseedn 2b28df1c3d 4/6: Add empty hash test, ELPA Syncer, 2022/05/20
- [nongnu] elpa/parseedn 8dca313b95 5/6: Merge pull request #15 from tmpUser2022/empty-hash, ELPA Syncer, 2022/05/20
- [nongnu] elpa/parseedn 7f38ea08b4 3/6: Fix empty hash,
ELPA Syncer <=