From 687dd4a6efbd51e1185e13a391966dd0e0038f39 Mon Sep 17 00:00:00 2001 From: Patrick Winter Date: Sun, 14 Apr 2019 20:51:27 +0200 Subject: [PATCH] Refactor taskwarrior--change-attribute --- taskwarrior.el | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/taskwarrior.el b/taskwarrior.el index 3a0618a..274270e 100644 --- a/taskwarrior.el +++ b/taskwarrior.el @@ -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"