; Use 'keymap-set' in 'lua-ts-mode'
* lisp/progmodes/lua-ts-mode.el (lua-ts-mode-map): Replace 'define-key' with 'keymap-set'. (Bug#71736)
This commit is contained in:
parent
5e3b94e1be
commit
8198a14437
1 changed files with 4 additions and 4 deletions
|
@ -722,10 +722,10 @@ Calls REPORT-FN directly."
|
|||
|
||||
(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)
|
||||
(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)
|
||||
map)
|
||||
"Keymap for `lua-ts-mode' buffers.")
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue