(www-uri-make-feature-name-url): Add new argument `uri-genre' to
authorMORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
Thu, 9 Dec 2010 05:26:10 +0000 (14:26 +0900)
committerMORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
Thu, 9 Dec 2010 05:26:10 +0000 (14:26 +0900)
support non-character objects.

cwiki-common.el

index 9e14138..c76c72c 100644 (file)
     )
    (t feature-name)))
 
-(defun www-uri-make-feature-name-url (uri-feature-name uri-char)
-  (format "%s?feature=%s&char=%s"
-         chise-wiki-view-url uri-feature-name uri-char))
+(defun www-uri-make-feature-name-url (uri-genre uri-feature-name uri-object)
+  (format "%s?feature=%s&%s=%s"
+         chise-wiki-view-url uri-feature-name uri-genre uri-object))
 
 (defun www-uri-decode-object (genre char-rep)
   (let (ccs cpos)