branch: externals/hyperbole
commit bc1b9cb472922c21dc479eca8e2d93ae5cdca777
Author: Mats Lidell <[email protected]>
Commit: GitHub <[email protected]>
Hide docstring warnings when using bin target (#124)
---
ChangeLog | 4 ++++
Makefile | 3 ++-
2 files changed, 6 insertions(+), 1 deletion(-)
diff --git a/ChangeLog b/ChangeLog
index 6e1b22b..1ff8a63 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2021-09-26 Mats Lidell <[email protected]>
+
+* Makefile (bin): Hide docstring warnings.
+
2021-09-26 Robert Weiner <[email protected]>
* hbut.el (ebut:operate): Rewrote to handle label modification properly and
thereby
diff --git a/Makefile b/Makefile
index 87d8793..ee7e05e 100644
--- a/Makefile
+++ b/Makefile
@@ -264,7 +264,8 @@ src: autoloads tags
# which do not yet exist, plus build TAGS file.
bin: src
$(RM) *.elc kotl/*.elc
- $(EMACS) $(BATCHFLAGS) $(PRELOADS) -f batch-byte-compile $(EL_KOTL)
$(EL_COMPILE)
+ $(EMACS) $(BATCHFLAGS) $(PRELOADS) --eval="(setq-default
byte-compile-warnings '(not docstrings))" \
+ -f batch-byte-compile $(EL_KOTL) $(EL_COMPILE)
# Byte compile files but apply a filter for either including or
# removing warnings. See variable {C-hv byte-compile-warnings RET} for