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

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

[nongnu] elpa/lua-mode 6c4f7cb 251/468: lua-default-command-switches: de


From: Philip Kaludercic
Subject: [nongnu] elpa/lua-mode 6c4f7cb 251/468: lua-default-command-switches: declare buffer-local with make-variable-buffer-local, not make-local-variable
Date: Thu, 5 Aug 2021 04:58:47 -0400 (EDT)

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

    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



reply via email to

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