branch: elpa/logview commit 5976fa79b0abf07cba4fa22258b3e9f785c65175 Author: Paul Pogonyshev <pogonys...@gmail.com> Commit: Paul Pogonyshev <pogonys...@gmail.com>
Try to work around another byte-compilation warning. --- test/logview.el | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test/logview.el b/test/logview.el index 67cfe4aace..87f69ce450 100644 --- a/test/logview.el +++ b/test/logview.el @@ -72,6 +72,9 @@ (if (fboundp 'with-restriction) `(with-restriction ,start ,end :label ,locking-label + ;; Needed because apparently `with-restriction' coming out of `compat' on pre-29 Emacs otherwise + ;; doesn't list the variable as "used" and we get a byte-compilation warning. + (ignore ,locking-label) ,@body) `(progn (ignore ,locking-label) (narrow-to-region ,start ,end)