Refactor taskwarrior--change-attribute

This commit is contained in:
Patrick Winter 2019-04-14 20:51:27 +02:00
parent 777434aef5
commit 687dd4a6ef

View file

@ -142,8 +142,7 @@
(task (taskwarrior-export-task id))
(old-value (cdr (assoc-string attribute task)))
(new-value (read-from-minibuffer (concat prefix " ") old-value)))
(taskwarrior--shell-command "modify" id (concat prefix new-value))
(taskwarrior-update-buffer)))
(taskwarrior--mutable-shell-command "modify" id (concat prefix new-value))))
(defun taskwarrior-change-description ()
"Change the description of a task"