Fix taskwarrior--change-attribute

This commit is contained in:
Patrick Winter 2019-01-14 11:01:37 +01:00
parent 02d96875ab
commit d19449a0c0

View file

@ -120,8 +120,8 @@
(id (taskwarrior-id-at-point)) (id (taskwarrior-id-at-point))
(task (taskwarrior-export-task id)) (task (taskwarrior-export-task id))
(old-value (cdr (assoc-string attribute task))) (old-value (cdr (assoc-string attribute task)))
(new-value (read-from-minibuffer prefix old-value))) (new-value (read-from-minibuffer (concat prefix " ") old-value)))
(taskwarrior--shell-command "modify" id new-value) (taskwarrior--shell-command "modify" id (concat prefix new-value))
(taskwarrior-update-buffer))) (taskwarrior-update-buffer)))
(defun taskwarrior-change-description () (defun taskwarrior-change-description ()