Don't display "nil" when no project is set
This commit is contained in:
parent
46f2d2b862
commit
738d01b6b9
1 changed files with 1 additions and 1 deletions
|
@ -261,7 +261,7 @@
|
||||||
(urgency (format "%0.2f" (alist-get 'urgency entry)))
|
(urgency (format "%0.2f" (alist-get 'urgency entry)))
|
||||||
(priority (format " %s " (or (alist-get 'priority entry) "")))
|
(priority (format " %s " (or (alist-get 'priority entry) "")))
|
||||||
(annotations (format "%d" (length (or (alist-get 'annotations entry) '()))))
|
(annotations (format "%d" (length (or (alist-get 'annotations entry) '()))))
|
||||||
(project (or (format "%s" (alist-get 'project entry)) ""))
|
(project (or (alist-get 'project entry) ""))
|
||||||
(tags (or (taskwarrior--concat-tag-list (alist-get 'tags entry)) ""))
|
(tags (or (taskwarrior--concat-tag-list (alist-get 'tags entry)) ""))
|
||||||
(description (format "%s" (alist-get 'description entry))))
|
(description (format "%s" (alist-get 'description entry))))
|
||||||
`(,id [,id ,urgency ,priority ,annotations ,project ,tags ,description])))
|
`(,id [,id ,urgency ,priority ,annotations ,project ,tags ,description])))
|
||||||
|
|
Loading…
Reference in a new issue