diff --git a/borg.mk b/borg.mk index 206ca2c..3505afd 100644 --- a/borg.mk +++ b/borg.mk @@ -37,6 +37,9 @@ EMACS_EXTRA ?= .FORCE: SILENCIO += --eval "(progn (require 'gv) (put 'buffer-substring 'byte-obsolete-generalized-variable nil))" +SILENCIO += --eval "(progn \ + (put 'if-let 'byte-obsolete-info nil) \ + (put 'when-let 'byte-obsolete-info nil))" SILENCIO += --eval "(define-advice message (:around (fn format &rest args) silencio)\ (unless (or (equal format \"Not registering prefix \\\"%s\\\" from %s. Affects: %S\")\ (ignore-errors (string-match-p \"Scraping files for\" (car args))))\ diff --git a/default.mk b/default.mk index 515dd6b..82dd4a9 100644 --- a/default.mk +++ b/default.mk @@ -17,7 +17,9 @@ VERSION ?= $(shell test -e $(TOP).git && git describe --tags --abbrev=0 | cut -c REVDESC := $(shell test -e $(TOP).git && git describe --tags) EMACS ?= emacs -EMACS_ARGS ?= +EMACS_ARGS ?= --eval "(progn \ + (put 'if-let 'byte-obsolete-info nil) \ + (put 'when-let 'byte-obsolete-info nil))" LOAD_PATH ?= $(addprefix -L ../,$(DEPS)) LOAD_PATH += -L .