diff options
author | Eli Zaretskii <eliz@gnu.org> | 2018-03-03 12:41:31 +0200 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2018-03-03 12:41:31 +0200 |
commit | e385599457497d0ad1a103363eec73e09058c24a (patch) | |
tree | 865b45b1a15f7c09719592be209cb49ad8728a3a /lisp | |
parent | d691e30cb0c630f9d40da5369500b36419c6f0c3 (diff) | |
download | emacs-e385599457497d0ad1a103363eec73e09058c24a.tar.gz |
Avoid errors in flymake in builds --without-x
* lisp/progmodes/flymake.el: Require 'mwheel'. (Bug#28732)
Diffstat (limited to 'lisp')
-rw-r--r-- | lisp/progmodes/flymake.el | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lisp/progmodes/flymake.el b/lisp/progmodes/flymake.el index 58bad8f366e..40eacdd1888 100644 --- a/lisp/progmodes/flymake.el +++ b/lisp/progmodes/flymake.el @@ -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)) |