branch: elpa/lua-mode
commit 37f3c4284c45cd6c7b85074687c2e1f8e734622e
Author: immerrr <[email protected]>
Commit: immerrr <[email protected]>
Silence compilation warning about referencing a variable from compile.el
---
lua-mode.el | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/lua-mode.el b/lua-mode.el
index db12ce5..b098ab7 100644
--- a/lua-mode.el
+++ b/lua-mode.el
@@ -95,6 +95,11 @@
;; rx-wrappers for Lua
+(eval-when-compile
+ ;; Silence compilation warning about `compilation-error-regexp-alist' defined
+ ;; in compile.el.
+ (require 'compile))
+
(eval-and-compile
(defvar lua-rx-constituents)
(defvar rx-parent)