build-for!: made build-file optional

This commit is contained in:
Henrik Lissner 2015-08-01 14:39:19 +02:00
parent 9a692125ec
commit 03c7c4b07c

View file

@ -1,7 +1,7 @@
;;; macros-quickrun.el
;;;###autoload
(defmacro build-for! (mode command build-file)
(defmacro build-for! (mode command &optional build-file)
"Register major/minor MODE with build COMMAND. If FILES are provided, do an
additional check to make sure they exist in the project root."
`(add-hook! ,mode