Refactor taskwarrior--change-attribute
This commit is contained in:
parent
777434aef5
commit
687dd4a6ef
1 changed files with 1 additions and 2 deletions
|
@ -142,8 +142,7 @@
|
||||||
(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 (concat prefix " ") old-value)))
|
(new-value (read-from-minibuffer (concat prefix " ") old-value)))
|
||||||
(taskwarrior--shell-command "modify" id (concat prefix new-value))
|
(taskwarrior--mutable-shell-command "modify" id (concat prefix new-value))))
|
||||||
(taskwarrior-update-buffer)))
|
|
||||||
|
|
||||||
(defun taskwarrior-change-description ()
|
(defun taskwarrior-change-description ()
|
||||||
"Change the description of a task"
|
"Change the description of a task"
|
||||||
|
|
Loading…
Reference in a new issue