diff options
author | Kyle Meyer <kyle@kyleam.com> | 2016-06-13 00:26:13 -0400 |
---|---|---|
committer | Kyle Meyer <kyle@kyleam.com> | 2016-06-13 00:26:13 -0400 |
commit | a8efc182c1ab68e65f20f7ce801921435ecf1c2f (patch) | |
tree | 95fa5888750c00ae9008c7cad08a435d34caa439 /snakemake.el | |
parent | 3f02d1af5548d15a410ee745b9e7ebc09266a1ab (diff) | |
download | snakemake-mode-a8efc182c1ab68e65f20f7ce801921435ecf1c2f.tar.gz |
snakemake-compile-targets: Update compile-history
Diffstat (limited to 'snakemake.el')
-rw-r--r-- | snakemake.el | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/snakemake.el b/snakemake.el index 213a8c1..f5d5dfb 100644 --- a/snakemake.el +++ b/snakemake.el @@ -524,8 +524,10 @@ Snakemake-graph mode is a minor mode that provides a key, (defun snakemake-compile-targets (targets args) "Run non-interactive `compile' with 'snakemake [ARGS] -- TARGETS'." - (let ((default-directory (snakemake-snakefile-directory))) - (compile (snakemake--define-compile-command targets args)))) + (let* ((default-directory (snakemake-snakefile-directory)) + (cmd (snakemake--define-compile-command targets args))) + (compile cmd) + (push cmd compile-history))) ;;;###autoload (defun snakemake-build-targets-at-point (&optional args) |