From d628584a7bdb3602c660facedf9851403b26e14c Mon Sep 17 00:00:00 2001 From: Robert Voyer Date: Sat, 17 Feb 2024 21:27:23 -0800 Subject: [PATCH] Fix error in serialize-tags --- mxtodo.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mxtodo.el b/mxtodo.el index 784861f..0b267df 100644 --- a/mxtodo.el +++ b/mxtodo.el @@ -424,8 +424,8 @@ The resulting timestamp is returned as a ts struct." "Serialize TODO tags." (let ((tags (mxtodo-item-tags todo))) (cond - ((null tags "")) - ((null (cdr tags)) (car tags)) + ((equal nil tags) "") + ((equal nil (cdr tags)) (car tags)) (t (mapconcat 'identity tags " "))))) (defun mxtodo--serialize-as-str (todo)