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
1 changed files with 4 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue