branch: elpa/lua-mode
commit 6c4f7cbe27f1380b77c6abf552c42cce2ff016d2
Author: immerrr <[email protected]>
Commit: immerrr <[email protected]>
lua-default-command-switches: declare buffer-local with
make-variable-buffer-local, not make-local-variable
---
lua-mode.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lua-mode.el b/lua-mode.el
index e5c823c..4c09e3d 100644
--- a/lua-mode.el
+++ b/lua-mode.el
@@ -290,6 +290,7 @@ for Emacsen that doesn't contain one (pre-23.3)."
Should be a list of strings."
:type '(repeat string)
:group 'lua)
+(make-variable-buffer-local 'lua-default-command-switches)
(defcustom lua-always-show t
"*Non-nil means display lua-process-buffer after sending a command."
@@ -682,7 +683,6 @@ Groups 6-9 can be used in any of argument regexps."
:group 'lua
(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
nil ;; keywords-only