From aacb95038ef31673fd0c24b77ebc0903cf4c531a Mon Sep 17 00:00:00 2001 From: MORIOKA Tomohiko Date: Fri, 11 Jun 2021 08:38:29 +0900 Subject: [PATCH] (www-batch-view-smart): Support ...//index..html to specify language. --- cwiki-view.el | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/cwiki-view.el b/cwiki-view.el index 33c6957..ba15468 100644 --- a/cwiki-view.el +++ b/cwiki-view.el @@ -844,6 +844,10 @@ size=\"30\" maxlength=\"30\" value=\"%s\" />" ((string-match "/index\\.ttl$" target) (setq turtle t target (substring target 0 (match-beginning 0))) + ) + ((string-match "/index\\.\\(...*\\)\\.html$" target) + (setq lang (intern (match-string 1 target)) + target (substring target 0 (match-beginning 0))) )) (when (string-match "^char/\\(&[^&;]+;\\)" target) (setq ret (match-end 0)) -- 1.7.10.4