diff options
author | Kyle Meyer <kyle@kyleam.com> | 2022-02-21 18:00:57 -0500 |
---|---|---|
committer | Kyle Meyer <kyle@kyleam.com> | 2022-02-21 18:00:57 -0500 |
commit | e735cccc4f7032e6b4bbae1a23c4906d89e8ea10 (patch) | |
tree | e1d71664358407ad2769b1a34f2295156aaf4b4b /Makefile | |
parent | 592901893f297099ffb759b4d1359bcd3411d1a9 (diff) | |
download | snakemake-mode-e735cccc4f7032e6b4bbae1a23c4906d89e8ea10.tar.gz |
make: Load autoload.el before calling update-directory-autoloads
--eval uses lexical scoping as of Emacs 27. Load autoload.el to
evaluate (defvar generated-autoload-file ...) and get dynamic scope.
See Emacs's bug#39823.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -20,7 +20,7 @@ test: | .deps --eval "(ert-run-tests-batch-and-exit '(not (tag interactive)))" $(AUTOLOADS_FILE): $(els) - @$(BATCH) --eval \ + @$(BATCH) -l autoload --eval \ "(let ((make-backup-files nil) \ (generated-autoload-file \"$(CURDIR)/$@\")) \ (update-directory-autoloads \"$(CURDIR)/\"))" |