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

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

[nongnu] elpa/lua-mode a1dc850 207/468: Post-refactoring fix: evaluate s


From: Philip Kaludercic
Subject: [nongnu] elpa/lua-mode a1dc850 207/468: Post-refactoring fix: evaluate string variables in font-lock-defaults value
Date: Thu, 5 Aug 2021 04:58:37 -0400 (EDT)

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

    Post-refactoring fix: evaluate string variables in font-lock-defaults value
    
    Should fix issue #53.
---
 lua-mode.el | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/lua-mode.el b/lua-mode.el
index 7917790..c48dd67 100644
--- a/lua-mode.el
+++ b/lua-mode.el
@@ -653,7 +653,7 @@ Groups 6-9 can be used in any of argument regexps."
   (setq comint-prompt-regexp lua-prompt-regexp)
   (make-local-variable 'lua-default-command-switches)
   (set (make-local-variable 'font-lock-defaults)
-       '(lua-font-lock-keywords ;; keywords
+       `(lua-font-lock-keywords ;; keywords
          nil                    ;; keywords-only
          nil                    ;; case-fold
          ;; Not sure, why '_' is a word constituent only when font-locking.
@@ -668,9 +668,9 @@ Groups 6-9 can be used in any of argument regexps."
          (beginning-of-defun-function   . lua-beginning-of-proc)
          (end-of-defun-function         . lua-end-of-proc)
          (indent-line-function          . lua-indent-line)
-         (comment-start                 . lua-comment-start)
-         (comment-start-skip            . lua-comment-start-skip)
-         (imenu-generic-expression      . lua-imenu-generic-expression)))
+         (comment-start                 . ,lua-comment-start)
+         (comment-start-skip            . ,lua-comment-start-skip)
+         (imenu-generic-expression      . ,lua-imenu-generic-expression)))
 
   ;; setup menu bar entry (XEmacs style)
   (if (and (featurep 'menubar)



reply via email to

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