From e9a0f1df4aec58baa0373bbcf2dbb69989801427 Mon Sep 17 00:00:00 2001 From: Protesilaos Stavrou Date: Sun, 5 Feb 2023 09:37:57 +0200 Subject: Tweak comment-start-skip --- sxhkdrc-mode.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sxhkdrc-mode.el b/sxhkdrc-mode.el index de45ea8..6456db1 100644 --- a/sxhkdrc-mode.el +++ b/sxhkdrc-mode.el @@ -120,7 +120,7 @@ key chord chain (demarcated by a colon or semicolon)." "Major mode for editing sxhkdrc files (Simple X Hot Key Daemon)." (setq-local indent-line-function 'sxhkdrc-mode-indent-line comment-start "# " - comment-start-skip "#+ *") + comment-start-skip "#+[\t\s]*") (setq font-lock-defaults '(sxhkdrc-mode-font-lock-keywords))) ;;;###autoload -- cgit v1.0