Skip to content

Commit

Permalink
Fix error in serialize-tags
Browse files Browse the repository at this point in the history
  • Loading branch information
rlvoyer committed Feb 18, 2024
1 parent 4f9a3c5 commit d628584
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mxtodo.el
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit d628584

Please sign in to comment.