From 41c0b860a4f9a9c4268fad2c70e6646d53c7b20d Mon Sep 17 00:00:00 2001 From: MORIOKA Tomohiko Date: Wed, 8 Dec 2010 01:03:59 +0900 Subject: [PATCH] (www-format-value-as-char-list): Use `object-representative-feature' instead of `object-representation-format'; use feature `object-representative-format' of genre object if `object-representative-feature' of genre object or `name' is not existed. --- cwiki-format.el | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/cwiki-format.el b/cwiki-format.el index 4a14786..649cb45 100644 --- a/cwiki-format.el +++ b/cwiki-format.el @@ -54,12 +54,19 @@ 'genre)) (www-get-feature-value genre-o - 'object-representation-format) + 'object-representative-feature) 'name)))) (www-format-eval-feature-value unit name-f nil nil nil ret 'without-tags 'without-edit) ) + ((and genre-o + (setq ret (concord-object-get + genre-o + 'object-representative-format))) + (www-format-eval-list + ret unit nil nil nil 'without-tags 'without-edit) + ) (t (www-format-encode-string (format "%S" unit)) -- 1.7.10.4