From 99fdabfa4eea3e158cde23775d4a8b146694ffaf Mon Sep 17 00:00:00 2001 From: MORIOKA Tomohiko Date: Thu, 1 Jun 2017 16:12:59 +0900 Subject: [PATCH] (www-display-object-desc): Check return value of `www-get-feature-value' to accept character object as the same as list of characters. --- cwiki-view.el | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/cwiki-view.el b/cwiki-view.el index 570e6e3..a148dfb 100644 --- a/cwiki-view.el +++ b/cwiki-view.el @@ -190,10 +190,14 @@ li { margin: 0 0 0 2em; } genre rdf-uri-object) ""))) (when (setq parents (www-get-feature-value object '<-denotational)) + (if (characterp parents) + (setq parents (list parents))) (princ (format "

%s %s

\n
\n" (www-format-value-as-char-list parents) (www-format-feature-name '->denotational lang)))) (when (setq parents (www-get-feature-value object '<-subsumptive)) + (if (characterp parents) + (setq parents (list parents))) (princ (format "

%s %s

\n
\n" (www-format-value-as-char-list parents) (www-format-feature-name '->subsumptive lang)))) -- 1.7.10.4