From d19449a0c08785222b8865fdfe0cd92b2926f9fd Mon Sep 17 00:00:00 2001 From: Patrick Winter Date: Mon, 14 Jan 2019 11:01:37 +0100 Subject: [PATCH] Fix taskwarrior--change-attribute --- taskwarrior.el | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/taskwarrior.el b/taskwarrior.el index 8536826..8616084 100644 --- a/taskwarrior.el +++ b/taskwarrior.el @@ -116,12 +116,12 @@ (defun taskwarrior--change-attribute (attribute) "Change an attribute of a task" - (let* ((prefix (concat attribute ": ")) + (let* ((prefix (concat attribute ":")) (id (taskwarrior-id-at-point)) (task (taskwarrior-export-task id)) (old-value (cdr (assoc-string attribute task))) - (new-value (read-from-minibuffer prefix old-value))) - (taskwarrior--shell-command "modify" id new-value) + (new-value (read-from-minibuffer (concat prefix " ") old-value))) + (taskwarrior--shell-command "modify" id (concat prefix new-value)) (taskwarrior-update-buffer))) (defun taskwarrior-change-description ()