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

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

[nongnu] elpa/lua-mode 4b407cc 203/468: Print 'Prefix key set to ...' on


From: Philip Kaludercic
Subject: [nongnu] elpa/lua-mode 4b407cc 203/468: Print 'Prefix key set to ...' only when setting via interactive function
Date: Thu, 5 Aug 2021 04:58:36 -0400 (EDT)

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

    Print 'Prefix key set to ...' only when setting via interactive function
---
 lua-mode.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lua-mode.el b/lua-mode.el
index 1c2f5b5..d7a6332 100644
--- a/lua-mode.el
+++ b/lua-mode.el
@@ -232,8 +232,7 @@ Should be a list of strings."
                           ;; in both cases (elt x 0) is ok
                           (elt (read-kbd-macro prefix-key-val) 0)))
   (if (fboundp 'lua-prefix-key-update-bindings)
-      (lua-prefix-key-update-bindings))
-  (message "prefix key set to %S"  (single-key-description (eval 
prefix-key-sym))))
+      (lua-prefix-key-update-bindings)))
 
 (defcustom lua-prefix-key "\C-c"
   "Prefix for all lua-mode commands."
@@ -730,6 +729,7 @@ Groups 6-9 can be used in any of argument regexps."
 This function replaces previous prefix-key binding with a new one."
   (interactive "sNew prefix key (empty string means no key): ")
   (lua--customize-set-prefix-key 'lua-prefix-key new-key-str)
+  (message "Prefix key set to %S"  (single-key-description lua-prefix-key))
   (lua-prefix-key-update-bindings))
 
 (defun lua-string-p (&optional pos)



reply via email to

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