From: MORIOKA Tomohiko Date: Thu, 1 Jun 2017 07:06:29 +0000 (+0900) Subject: (www-format-encode-string): Check return value of X-Git-Url: http://git.chise.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d1e966abdea0032bd1a78b264e97b1402c03c022;p=chise%2Fest.git (www-format-encode-string): Check return value of `www-get-feature-value' to accept character object as the same as list of characters. --- diff --git a/cwiki-common.el b/cwiki-common.el index 6cb9d19..1f7e082 100644 --- a/cwiki-common.el +++ b/cwiki-common.el @@ -1183,7 +1183,9 @@ style=\"vertical-align:middle\">" (or (www-get-feature-value char '->subsumptive) (www-get-feature-value char '->denotational))) (progn - (while (and variants + (if (characterp variants) + (setq variants (list variants))) + (while (and variants (setq ret (www-format-encode-string (char-to-string (car variants)))) (string-match "&MCS-\\([0-9A-F]+\\);" ret))