Fix function name

This commit is contained in:
Patrick Winter 2018-10-31 20:18:19 +01:00
parent da690024d8
commit 523c81b8cc

View file

@ -67,15 +67,17 @@
(interactive) (interactive)
(save-excursion (save-excursion
(let* ((id (taskwarrior-id-at-point)) (let* ((id (taskwarrior-id-at-point))
(new-text (read-from-minibuffer "Description: " (alist-get 'description (taskwarrior-export-task id))))) (task (taskwarrior-export-task id))
(new-text (read-from-minibuffer "Description: " (alist-get 'description task))))
(taskwarrior--shell-command "modify" id new-text) (taskwarrior--shell-command "modify" id new-text)
(taskwarrior-update-buffer)))) (taskwarrior-update-buffer))))
(defun taskwarrior-changetaskwarrior-project (project) (defun taskwarrior-change-project (project)
(interactive "sProject: ") (interactive "sProject: ")
(let ((filter (taskwarrior-id-at-point)) (let ((filter (taskwarrior-id-at-point))
(modifications (concat "project:" project))) (modifications (concat "project:" project)))
(taskwarrior--shell-command "modify" filter modifications))) (taskwarrior--shell-command "modify" filter modifications)
(taskwarrior-update-buffer)))
(defun taskwarrior-add (description) (defun taskwarrior-add (description)
(interactive "sDescription: ") (interactive "sDescription: ")