projects
/
chise
/
est.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
abba94f
)
(www-batch-view-smart): Support ...//index.<lang>.html to specify
author
MORIOKA Tomohiko
<tomo.git@chise.org>
Thu, 10 Jun 2021 23:38:29 +0000
(08:38 +0900)
committer
MORIOKA Tomohiko
<tomo.git@chise.org>
Thu, 13 Jan 2022 18:22:02 +0000
(
03:22
+0900)
language.
cwiki-view.el
patch
|
blob
|
history
diff --git
a/cwiki-view.el
b/cwiki-view.el
index
33c6957
..
ba15468
100644
(file)
--- 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))