Skip to content

Commit

Permalink
Ensure zk--id-list returns valid list.
Browse files Browse the repository at this point in the history
  • Loading branch information
cranej committed Dec 5, 2024
1 parent 297ebd0 commit 9249f7f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zk.el
Original file line number Diff line number Diff line change
Expand Up @@ -366,7 +366,7 @@ an internal loop."
(push (car item) ids))
(push (car item) ids)))
ids)
(zk--parse-file 'id (zk--directory-files t))))
(ensure-list (zk--parse-file 'id (zk--directory-files t)))))

(defun zk-id-p (id)
"Return t if ID is already in use as a zk-id."
Expand Down

0 comments on commit 9249f7f

Please sign in to comment.