From a8efc182c1ab68e65f20f7ce801921435ecf1c2f Mon Sep 17 00:00:00 2001 From: Kyle Meyer Date: Mon, 13 Jun 2016 00:26:13 -0400 Subject: snakemake-compile-targets: Update compile-history --- snakemake.el | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'snakemake.el') 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) -- cgit v1.2.3