]> git.eshelyaron.com Git - emacs.git/commitdiff
* lisp/progmodes/vhdl-mode.el (speedbar-load-hook): Silence compiler.
authorGlenn Morris <rgm@gnu.org>
Fri, 17 Jan 2020 07:14:00 +0000 (23:14 -0800)
committerGlenn Morris <rgm@gnu.org>
Fri, 17 Jan 2020 07:14:00 +0000 (23:14 -0800)
lisp/progmodes/vhdl-mode.el

index b225a9b1d9a5c975b0e50d4fcb96530460bdcd80..0677d36fbc7c11bfc10d1417e60a12df0556dec9 100644 (file)
@@ -16148,7 +16148,7 @@ expansion function)."
 
 ;; initialize speedbar
 (if (not (boundp 'speedbar-frame))
-    (add-hook 'speedbar-load-hook 'vhdl-speedbar-initialize)
+    (with-no-warnings (add-hook 'speedbar-load-hook 'vhdl-speedbar-initialize))
   (vhdl-speedbar-initialize)
   (when speedbar-frame (vhdl-speedbar-refresh)))