From 5688824694e6fa1ee0e524b2b3281c66a46b9ecd Mon Sep 17 00:00:00 2001 From: David Aspinall Date: Tue, 8 Sep 2009 09:49:31 +0000 Subject: Remove warnings in batch compile about functions possibly undefined at runtime. Most of these are spurious (come from autoloads; byte comp seems to give these higher priority than declarations in same file). --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index c463e1ad..bf879028 100644 --- a/Makefile +++ b/Makefile @@ -60,7 +60,7 @@ BIN_SCRIPTS = bin/proofgeneral lego/legotags coq/coqtags isar/isartags # only during compilation. Another idea: put a function in proof-site # to output the compile-time load path and ELISP_DIRS so these are set # just in that one place. -BYTECOMP = $(BATCHEMACS) -eval '(setq load-path (append (mapcar (lambda (d) (concat "${PWD}/" (symbol-name d))) (quote (${ELISP_DIRS}))) load-path))' -f batch-byte-compile +BYTECOMP = $(BATCHEMACS) -eval '(setq load-path (append (mapcar (lambda (d) (concat "${PWD}/" (symbol-name d))) (quote (${ELISP_DIRS}))) load-path))' -eval '(progn (require (quote bytecomp)) (setq byte-compile-warnings (remove (quote noruntime) byte-compile-warning-types)))' -f batch-byte-compile EL=$(shell for f in $(ELISP_DIRS); do ls $$f/*.el; done) ELC=$(EL:.el=.elc) -- cgit v1.2.3