From c69a3c6b8b691a2f7486b8ad97afe8892fbf97ff Mon Sep 17 00:00:00 2001 From: Kyure_A <49436968+Kyure-A@users.noreply.github.com> Date: Wed, 13 Mar 2024 23:38:23 +0900 Subject: [PATCH] fix: suppress keymap error --- satysfi-ts-mode.el | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/satysfi-ts-mode.el b/satysfi-ts-mode.el index 94af97a..87c8f1e 100644 --- a/satysfi-ts-mode.el +++ b/satysfi-ts-mode.el @@ -261,11 +261,11 @@ (insert " ") (satysfi-ts-mode--indent (- offset 1)))) -(defvar satysfi-ts-mode-map - (let ((keymap (make-sparse-keymap))) - (define-key keymap (kbd "") 'satysfi-ts-mode--indent)) +(defvar satysfi-ts-mode-map (make-sparse-keymap) "Mode map for `satysfi-ts-mode'.") +(define-key satysfi-ts-mode-map (kbd "") 'satysfi-ts-mode--indent) + (defun satysfi-ts-mode-install-grammar () "Install language grammar for SATySFi." (interactive)