From 473cfbe9ffc745d61c214220d9073f49b7dc8ace Mon Sep 17 00:00:00 2001 From: Konstantin Kharlamov Date: Wed, 26 Feb 2025 00:10:48 +0300 Subject: [PATCH] Add missing `require 'autoloads` for `make all` to start working Worth noting that it uses deprecated autoloads lib, but offhand I couldn't figure out how to replace it with `loaddefs-generate-batch`, and I don't think it's even worth putting time into because nobody's likely gonna use this anyway. Let's just fix the make rule because it's easy to. --- Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile b/Makefile index 354cc21..03a7e1e 100644 --- a/Makefile +++ b/Makefile @@ -90,6 +90,7 @@ $(AUTOLOADS): $(ELFILES) purescript-mode.elc $(BATCH) \ --eval '(setq make-backup-files nil)' \ --eval '(setq generated-autoload-file "$(CURDIR)/$@")' \ + --eval "(require 'autoload)" \ -f batch-update-autoloads "." # HACK: embed version number into .elc file