Skip to content

Commit 02aa8c5

Browse files
committed
borg.mk: Drop a package-specific suppression of a warning
Going forward, only suppress annoying messages that affect all/many packages. Users can suppress other warnings by adding to `SILENCIO' in "etc/borg/config.mk".
1 parent b6c56b7 commit 02aa8c5

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

borg.mk

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,16 +32,14 @@ EMACS_BATCH ?= $(EMACS) $(EMACS_Q_ARG) --batch $(EMACS_ARGS) $(EMACS_EXTRA)
3232
# - a013a0eee79 registering
3333
# - f6e9cb62ea0 succeeded
3434
# - 38e9e01efb1 scraping
35-
SILENCIO += --eval "(progn\
36-
(with-eval-after-load 'gv\
37-
(put 'buffer-substring 'byte-obsolete-generalized-variable nil))\
35+
SILENCIO += --eval "\
3836
(define-advice message (:around (fn format &rest args) silencio)\
3937
(unless (or (member format\
4038
'(\"Not registering prefix \\\"%s\\\" from %s. Affects: %S\"\
4139
\"(Shell command succeeded with %s)\"))\
4240
(and (stringp (car args))\
4341
(string-match-p \"Scraping files for\" (car args))))\
44-
(apply fn format args))))"
42+
(apply fn format args)))"
4543

4644
.FORCE:
4745
.PHONY: help helpall clean build native quick-clean quick-build quick \

0 commit comments

Comments
 (0)