branch: elpa/adoc-mode
commit 2cc5aabe0177fa69c97bbe162da2b17ddb68ac23
Author: Tobias Zawada <[email protected]>
Commit: TobiasZawada <[email protected]>
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