From f9df26d3f2af1fe9c470010037ea15df51f8aebe Mon Sep 17 00:00:00 2001 From: Eric Ludlam Date: Fri, 26 Mar 2021 18:43:13 -0400 Subject: [PATCH] matlab-maint.el: (matlab-maint-run-tests): Save current buffer w/out asking, as that is typically what I want. --- matlab-maint.el | 2 ++ 1 file changed, 2 insertions(+) diff --git a/matlab-maint.el b/matlab-maint.el index eb93015..ee6b071 100644 --- a/matlab-maint.el +++ b/matlab-maint.el @@ -148,6 +148,8 @@ "Run the tests for matlab mode. With universal ARG, ask for the code to be run with output tracking turned on." (interactive "P") + (when (buffer-file-name) + (save-buffer)) (save-excursion (matlab-maint-set-buffer-to "tests/Makefile") (if (or arg matlab-shell-io-testing)