[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] emacs-26 e385599: Avoid errors in flymake in builds --with
From: |
Eli Zaretskii |
Subject: |
[Emacs-diffs] emacs-26 e385599: Avoid errors in flymake in builds --without-x |
Date: |
Sat, 3 Mar 2018 05:42:25 -0500 (EST) |
branch: emacs-26
commit e385599457497d0ad1a103363eec73e09058c24a
Author: Eli Zaretskii <address@hidden>
Commit: Eli Zaretskii <address@hidden>
Avoid errors in flymake in builds --without-x
* lisp/progmodes/flymake.el: Require 'mwheel'. (Bug#28732)
---
lisp/progmodes/flymake.el | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/lisp/progmodes/flymake.el b/lisp/progmodes/flymake.el
index 58bad8f..40eacdd 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))
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] emacs-26 e385599: Avoid errors in flymake in builds --without-x,
Eli Zaretskii <=