Fix function name
This commit is contained in:
parent
da690024d8
commit
523c81b8cc
1 changed files with 5 additions and 3 deletions
|
@ -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: ")
|
||||||
|
|
Loading…
Reference in a new issue