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

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

[nongnu] elpa/adoc-mode 2cc5aabe01 194/199: Fixes #39. Spaces and source


From: ELPA Syncer
Subject: [nongnu] elpa/adoc-mode 2cc5aabe01 194/199: Fixes #39. Spaces and source-language name for language attribute
Date: Sun, 3 Sep 2023 06:59:46 -0400 (EDT)

branch: elpa/adoc-mode
commit 2cc5aabe0177fa69c97bbe162da2b17ddb68ac23
Author: Tobias Zawada <TOZ@esi-group.com>
Commit: TobiasZawada <i@tn-home.de>

    Fixes #39. Spaces and source-language name for language attribute
---
 adoc-mode.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/adoc-mode.el b/adoc-mode.el
index 1ea31062de..a58f3926cb 100644
--- a/adoc-mode.el
+++ b/adoc-mode.el
@@ -2040,7 +2040,7 @@ START-SRC and END-SRC delimit the actual source code."
             (outer-brackets-and-delimiter (&rest stuff)
                                           (format "^\\[%s\\]\n\\(?2:----+\\)\n"
                                                   (apply #'concat stuff)))
-            (lang () ",\\(?1:[^],]+\\)")
+            (lang () ",[\t ]*\\(source-language[\t ]*=[\t 
]*\\)?\\(?1:[^],]+\\)")
             (optional-other-args () "\\(?:,[^]]+\\)?"))
     (outer-brackets-and-delimiter
      (rx-or



reply via email to

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