From: Stefan Monnier Date: Thu, 21 Jul 2022 23:50:05 +0000 (-0400) Subject: * lisp/progmodes/verilog-mode.el (verilog-surelint-off): Silence warning X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1^2~5^2~16^2~1886^2~813 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=5c8be6fd6c9ac2627b70df1903fd140bc94dcece;p=emacs.git * lisp/progmodes/verilog-mode.el (verilog-surelint-off): Silence warning --- diff --git a/lisp/progmodes/verilog-mode.el b/lisp/progmodes/verilog-mode.el index 9ab129d4474..df3b28615fd 100644 --- a/lisp/progmodes/verilog-mode.el +++ b/lisp/progmodes/verilog-mode.el @@ -5460,7 +5460,9 @@ becomes: (interactive) (let ((buff (if (boundp 'next-error-last-buffer) ;Added to Emacs-22.1 next-error-last-buffer - compilation-last-buffer))) + (verilog--suppressed-warnings + ((obsolete compilation-last-buffer)) + compilation-last-buffer)))) (when (buffer-live-p buff) (save-excursion (switch-to-buffer buff)