[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Review request: Fixing of spurious byte compiler warnings "might not
From: |
Artur Malabarba |
Subject: |
Re: Review request: Fixing of spurious byte compiler warnings "might not be defined at runtime". |
Date: |
Sun, 22 Nov 2015 12:54:04 +0000 |
Thanks Alan.
Do you think you could add a test for that as well?
It should be possible by overriding `display-warning' or something like that.
(let ((warnings nil))
(letf (((symbol-function 'display-warning) (lambda (&rest x) (push x
warnings))))
;; byte-compile some file here.
(should-not warnings)))