1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-22 07:09:54 +00:00

Avoid errors in flymake in builds --without-x

* lisp/progmodes/flymake.el: Require 'mwheel'.  (Bug#28732)
This commit is contained in:
Eli Zaretskii 2018-03-03 12:41:31 +02:00
parent d691e30cb0
commit e385599457

View File

@ -48,6 +48,10 @@
(require 'thingatpt) ; end-of-thing
(require 'warnings) ; warning-numeric-level, display-warning
(require 'compile) ; for some faces
;; We need the next require to avoid compiler warnings and run-time
;; errors about mouse-wheel-up/down-event in builds --without-x, where
;; mwheel is not preloaded.
(require 'mwheel)
;; when-let*, if-let*, hash-table-keys, hash-table-values:
(eval-when-compile (require 'subr-x))