Skip to content

Commit

Permalink
Add ensure-list
Browse files Browse the repository at this point in the history
  • Loading branch information
localauthor committed Dec 5, 2024
1 parent 73f3b7d commit 2bd80f7
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions zk.el
Original file line number Diff line number Diff line change
Expand Up @@ -565,9 +565,7 @@ file extension."
(match-string 2 file)))
(_ (signal 'wrong-type-argument
`((or 'id 'title) ,target))))))
(if (listp files)
files
(list files)))))
(ensure-list files))))
(if (zk--singleton-p result)
(car result)
result)))
Expand Down

0 comments on commit 2bd80f7

Please sign in to comment.