Skip to content

Commit

Permalink
refactor(minor): Use tomelr--toml-table-p
Browse files Browse the repository at this point in the history
  • Loading branch information
kaushalmodi committed May 2, 2022
1 parent 41ccea4 commit 4386d99
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tomelr.el
Original file line number Diff line number Diff line change
Expand Up @@ -290,8 +290,7 @@ This works for any MAP satisfying `mapp'."
;;;; Lists (including alists and plists)
(defun tomelr--print-list (list)
"Insert a TOML representation of LIST at point."
(cond ((or (tomelr-alist-p list)
(json-plist-p list))
(cond ((tomelr--toml-table-p list)
(tomelr--print-map list))
((listp list)
(tomelr--print-array list))
Expand Down

0 comments on commit 4386d99

Please sign in to comment.