From 9249f7f2976e1da84eb0c0f4603182240cf86068 Mon Sep 17 00:00:00 2001 From: cranej Date: Thu, 5 Dec 2024 12:25:58 +0800 Subject: [PATCH] Ensure `zk--id-list` returns valid list. --- zk.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zk.el b/zk.el index 68a55d9..01c2428 100644 --- a/zk.el +++ b/zk.el @@ -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."