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:
parent
d691e30cb0
commit
e385599457
@ -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))
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user