[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/lua-mode 3e8d475 275/468: Fixed broken local variable assi
From: |
Philip Kaludercic |
Subject: |
[nongnu] elpa/lua-mode 3e8d475 275/468: Fixed broken local variable assignments |
Date: |
Thu, 5 Aug 2021 04:58:52 -0400 (EDT) |
branch: elpa/lua-mode
commit 3e8d47500bd9f4896f10ce89a68f00fa35b149aa
Author: Juergen Fuhrmann <juergen.fuhrmann@web.de>
Commit: Juergen Fuhrmann <juergen.fuhrmann@web.de>
Fixed broken local variable assignments
---
lua-mode.el | 44 ++++++++++++++++++++++++--------------------
1 file changed, 24 insertions(+), 20 deletions(-)
diff --git a/lua-mode.el b/lua-mode.el
index 96cfbfd..b335aba 100644
--- a/lua-mode.el
+++ b/lua-mode.el
@@ -703,27 +703,31 @@ Groups 6-9 can be used in any of argument regexps."
:abbrev-table lua-mode-abbrev-table
:syntax-table lua-mode-syntax-table
:group 'lua
-
(setq comint-prompt-regexp lua-prompt-regexp)
- (set (make-local-variable 'font-lock-defaults)
- `(lua-font-lock-keywords ;; keywords
- nil ;; keywords-only
- nil ;; case-fold
- nil ;; syntax-alist
- nil ;; syntax-begin
- ;; initialize font-lock buffer-local variables
- (font-lock-syntactic-keywords . lua-font-lock-syntactic-keywords)
- (font-lock-extra-managed-props . (syntax-table))
- (parse-sexp-lookup-properties . t)
- ;; initialize the rest of buffer-local variables
- (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)
- (comment-use-syntax . t)
- (comment-use-global-state . t)
- (imenu-generic-expression . ,lua-imenu-generic-expression)))
+
+
+ (setq-local font-lock-defaults
+ '(lua-font-lock-keywords ;; keywords
+ nil ;; keywords-only
+ nil ;; case-fold
+ nil ;; syntax-alist
+ nil ;; syntax-begin
+ (font-lock-syntactic-keywords .
lua-font-lock-syntactic-keywords)
+ (font-lock-extra-managed-props . (syntax-table))
+ (parse-sexp-lookup-properties . t)
+ )
+ )
+
+
+ (setq-local indent-line-function 'lua-indent-line)
+ (setq-local beginning-of-defun-function 'lua-beginning-of-proc)
+ (setq-local end-of-defun-function 'lua-end-of-proc)
+ (setq-local comment-start 'lua-comment-start)
+ (setq-local comment-start-skip 'lua-comment-start-skip)
+ (setq-local comment-use-syntax t)
+ (setq-local comment-use-global-state t)
+ (setq-local imenu-generic-expression lua-imenu-generic-expression)
+
;; setup menu bar entry (XEmacs style)
(if (and (featurep 'menubar)
- [nongnu] elpa/lua-mode 2a8b58b 390/468: Silence byte-compiler, (continued)
- [nongnu] elpa/lua-mode 2a8b58b 390/468: Silence byte-compiler, Philip Kaludercic, 2021/08/05
- [nongnu] elpa/lua-mode 1f596a9 392/468: Merge pull request #161 from tarsiiformes/lexical, Philip Kaludercic, 2021/08/05
- [nongnu] elpa/lua-mode 0781d83 404/468: Merge pull request #175 from immerrr/add-lua-backward-up-list-command, Philip Kaludercic, 2021/08/05
- [nongnu] elpa/lua-mode d6dc6fb 406/468: Don't add "continuation line" indentation inside parentheses/brackets, Philip Kaludercic, 2021/08/05
- [nongnu] elpa/lua-mode ed01d35 071/468: Implement proper syntax-status querying: improve precision a lot, Philip Kaludercic, 2021/08/05
- [nongnu] elpa/lua-mode 0a1e915 262/468: bug fixes for show/hide process buffer, Philip Kaludercic, 2021/08/05
- [nongnu] elpa/lua-mode 6315591 265/468: indentation-test: extend unary op test cases, Philip Kaludercic, 2021/08/05
- [nongnu] elpa/lua-mode 6c4f7cb 251/468: lua-default-command-switches: declare buffer-local with make-variable-buffer-local, not make-local-variable, Philip Kaludercic, 2021/08/05
- [nongnu] elpa/lua-mode 9117cfc 269/468: Makefile: add tryout target to start editing test.lua, Philip Kaludercic, 2021/08/05
- [nongnu] elpa/lua-mode 2453e37 272/468: Makefile: account EMACS env variable in 'tryout' target, Philip Kaludercic, 2021/08/05
- [nongnu] elpa/lua-mode 3e8d475 275/468: Fixed broken local variable assignments,
Philip Kaludercic <=
- [nongnu] elpa/lua-mode 1d804f6 279/468: Drop pre-Emacs23 support macros, Philip Kaludercic, 2021/08/05
- [nongnu] elpa/lua-mode d6f7e0b 287/468: lua-documentation-function: New custom variable., Philip Kaludercic, 2021/08/05
- [nongnu] elpa/lua-mode f2e5c4b 299/468: Merge pull request #90 from Schnouki/lua53, Philip Kaludercic, 2021/08/05
- [nongnu] elpa/lua-mode 625ed2f 281/468: Move credits to AUTHORS, cleanup Commentary section a bit, Philip Kaludercic, 2021/08/05
- [nongnu] elpa/lua-mode 0b41d44 319/468: Merge master into stable, Philip Kaludercic, 2021/08/05
- [nongnu] elpa/lua-mode ea7e35c 321/468: Escape tabs in lua-make-lua-string, Philip Kaludercic, 2021/08/05
- [nongnu] elpa/lua-mode 33097fe 329/468: Merge pull request #123 from zonuexe/fix/auto-mode-alist, Philip Kaludercic, 2021/08/05
- [nongnu] elpa/lua-mode e6faecc 328/468: Use \\' instead of $, Philip Kaludercic, 2021/08/05
- [nongnu] elpa/lua-mode 5640afe 332/468: Merge pull request #128 from immerrr/update-makefile-and-travis-yml, Philip Kaludercic, 2021/08/05
- [nongnu] elpa/lua-mode 56691b8 338/468: Add tests for preserving point location when filling, Philip Kaludercic, 2021/08/05