(www-edit-display-feature-input-box): If specified object is a symbol,
authorMORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
Sun, 6 Feb 2011 20:31:06 +0000 (05:31 +0900)
committerMORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
Sun, 6 Feb 2011 20:31:06 +0000 (05:31 +0900)
treat it as a feature object.

cwiki-view.el

index e2a2796..1605d68 100644 (file)
@@ -7,6 +7,9 @@
 
 (defun www-edit-display-feature-input-box (char feature-name
                                                &optional format value)
+  (if (symbolp char)
+      (setq char (or (concord-decode-object '=id char 'feature)
+                    (concord-make-object 'feature char))))
   (unless format
     (setq format 'default))
   (unless value