Replace */tasks commands w/ magit-todos-list

If we want ivy/helm interfaces to it, we should use magit-todos as a
backend.
This commit is contained in:
Henrik Lissner 2019-11-15 22:12:45 -05:00
parent 03e9dc1daf
commit bd4755123f
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
6 changed files with 2 additions and 119 deletions

View file

@ -73,15 +73,6 @@ If ARG (universal argument), runs `compile' from the current directory."
(with-current-buffer buffer
(funcall (default-value 'major-mode))))))
;;;###autoload
(defun +default/project-tasks ()
"Invokes `+ivy/tasks' or `+helm/tasks', depending on which is available."
(interactive)
(cond ((featurep! :tools magit)
(call-interactively #'magit-todos-list))
((featurep! :completion ivy) (+ivy/tasks))
((featurep! :completion helm) (+helm/tasks))))
;;;###autoload
(defun +default/newline-above ()
"Insert an indented new line before the current one."