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

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

[elpa] externals/sxhkdrc-mode 03dc318125 1/4: Tweak comment-start and co


From: ELPA Syncer
Subject: [elpa] externals/sxhkdrc-mode 03dc318125 1/4: Tweak comment-start and comment-start-skip values
Date: Fri, 10 Feb 2023 03:58:23 -0500 (EST)

branch: externals/sxhkdrc-mode
commit 03dc31812536c2d0fd18f18de51164b9cacb69e2
Author: Protesilaos Stavrou <info@protesilaos.com>
Commit: Protesilaos Stavrou <info@protesilaos.com>

    Tweak comment-start and comment-start-skip values
---
 sxhkdrc-mode.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sxhkdrc-mode.el b/sxhkdrc-mode.el
index 02ee467bec..27d8339c9c 100644
--- a/sxhkdrc-mode.el
+++ b/sxhkdrc-mode.el
@@ -153,8 +153,8 @@ key chord chain (demarcated by a colon or semicolon)."
   ;; FIXME 2023-02-06: Why is `prog-fill-reindent-defun' not filling
   ;; comments?
   (setq-local indent-line-function 'sxhkdrc-mode-indent-line
-              comment-start "# "
-              comment-start-skip "#+[\t\s]*"
+              comment-start "#"
+              comment-start-skip (concat (regexp-quote comment-start) "+\\s *")
               outline-regexp (alist-get 'outline sxhkdrc-mode-syntax)
               imenu-generic-expression `(("Command" ,(alist-get 'command-line 
sxhkdrc-mode-syntax) 0)
                                          ("Key" ,(alist-get 'key-line 
sxhkdrc-mode-syntax) 0)))



reply via email to

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