emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/lua-mode bba7fc0 163/468: Fix byte-compilation


From: Philip Kaludercic
Subject: [nongnu] elpa/lua-mode bba7fc0 163/468: Fix byte-compilation
Date: Thu, 5 Aug 2021 04:58:28 -0400 (EDT)

branch: elpa/lua-mode
commit bba7fc06a3425396968f2502fcbad01bd4eee25e
Author: immerrr <immerrr+lua@gmail.com>
Commit: immerrr <immerrr+lua@gmail.com>

    Fix byte-compilation
---
 lua-mode.el | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/lua-mode.el b/lua-mode.el
index eec9a64..267277e 100644
--- a/lua-mode.el
+++ b/lua-mode.el
@@ -269,9 +269,11 @@ traceback location."
     ["Search Documentation" lua-search-documentation t])
   "Emacs menu for Lua mode.")
 
-(defconst
-  lua--builtins
-  (eval-and-compile
+;; the whole defconst is inside eval-when-compile, because it's later 
referenced
+;; inside another eval-and-compile block
+(eval-and-compile
+  (defconst
+    lua--builtins
     (let*
         ((modules
           '("_G" "_VERSION" "assert" "collectgarbage" "dofile" "error" 
"getfenv" "getmetatable"



reply via email to

[Prev in Thread] Current Thread [Next in Thread]