From 1d627c785ca84498b7616a498b6d9f899915cf7b Mon Sep 17 00:00:00 2001 From: john muhl Date: Wed, 22 May 2024 12:23:19 -0500 Subject: [PATCH 2/4] ; Use 'keymap-set' in 'lua-ts-mode' (bug#71736) * lisp/progmodes/lua-ts-mode.el (lua-ts-mode-map): Replace 'define-key' with 'keymap-set'. --- lisp/progmodes/lua-ts-mode.el | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/lisp/progmodes/lua-ts-mode.el b/lisp/progmodes/lua-ts-mode.el index 9801f339fdf..1d995e20df4 100644 --- a/lisp/progmodes/lua-ts-mode.el +++ b/lisp/progmodes/lua-ts-mode.el @@ -740,11 +740,11 @@ lua-ts-inferior--write-history (defvar lua-ts-mode-map (let ((map (make-sparse-keymap "Lua"))) - (define-key map "\C-c\C-n" 'lua-ts-inferior-lua) - (define-key map "\C-c\C-c" 'lua-ts-send-buffer) - (define-key map "\C-c\C-l" 'lua-ts-send-file) - (define-key map "\C-c\C-r" 'lua-ts-send-region) - (define-key map "\C-c\C-t" 'lua-ts-send-thing) + (keymap-set map "C-c C-n" 'lua-ts-inferior-lua) + (keymap-set map "C-c C-c" 'lua-ts-send-buffer) + (keymap-set map "C-c C-l" 'lua-ts-send-file) + (keymap-set map "C-c C-r" 'lua-ts-send-region) + (keymap-set map "C-c C-t" 'lua-ts-send-thing) map) "Keymap for `lua-ts-mode' buffers.") -- 2.45.2