(est-object-genre): New function.
authorMORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
Sat, 4 Dec 2010 18:07:32 +0000 (03:07 +0900)
committerMORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
Sat, 4 Dec 2010 18:07:32 +0000 (03:07 +0900)
(www-format-apply-value): Use `est-object-genre' instead of
`concord-object-genre'.

cwiki-common.el

index 939571b..21c2522 100644 (file)
        (intern (substring feature-name 0 (match-beginning 0)))
       feature)))
 
+(defun est-object-genre (object)
+  (if (characterp object)
+      'character
+    (concord-object-genre object)))
+
 (defun www-get-feature-value (object feature)
   (let ((latest-feature (char-feature-name-at-domain feature '$rev=latest)))
     (cond
 ><input type=\"submit\" value=\"edit\" /></a>"
              ret
              chise-wiki-edit-url
-             (concord-object-genre object)
+             (est-object-genre object)
              uri-object uri-feature format))))
 
 (defun www-format-eval-feature-value (object