Add interactive form to +default/project-tasks

It is required for key-bound commands. Also added a docstring.
This commit is contained in:
Henrik Lissner 2018-12-31 15:28:35 -05:00 committed by GitHub
parent 9a0da588d9
commit 9f455edcdf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -87,5 +87,7 @@ If ARG (universal argument), runs `compile' from the current directory."
;;;###autoload
(defun +default/project-tasks ()
"Invokes `+ivy/tasks' or `+helm/tasks', depending on which is available."
(interactive)
(cond ((featurep! :completion ivy) (+ivy/tasks)
(featurep! :completion helm) (+helm/tasks))))