From: MORIOKA Tomohiko Date: Thu, 10 Jun 2021 23:38:29 +0000 (+0900) Subject: (www-batch-view-smart): Support ...//index..html to specify X-Git-Url: http://git.chise.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=aacb95038ef31673fd0c24b77ebc0903cf4c531a;p=chise%2Fest.git (www-batch-view-smart): Support ...//index..html to specify language. --- 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))