Remove anaphoric macro usage
This commit is contained in:
parent
b52ddb3e03
commit
53ed966671
|
@ -215,8 +215,9 @@ To use, add this to `chronometrist-after-out-functions', and
|
||||||
ENTRY must be a valid element in the list specified by
|
ENTRY must be a valid element in the list specified by
|
||||||
`tabulated-list-entries'."
|
`tabulated-list-entries'."
|
||||||
(-let* (((task vector) entry)
|
(-let* (((task vector) entry)
|
||||||
(goal (aif (chronometrist-goal-get task) (format "% 4d" it) "")))
|
(goal-minutes (chronometrist-goal-get task))
|
||||||
(list task (vconcat vector `[,goal]))))
|
(goal-string (if goal-minutes (format "% 4d" goal-minutes) "")))
|
||||||
|
(list task (vconcat vector `[,goal-string]))))
|
||||||
|
|
||||||
(defun chronometrist-goal-list-format-transformer (format)
|
(defun chronometrist-goal-list-format-transformer (format)
|
||||||
"Add a goal column to the return value of `tabulated-list-format'.
|
"Add a goal column to the return value of `tabulated-list-format'.
|
||||||
|
|
Reference in New Issue