(www-display-char-desc): Don't display "add feature" button when
authorMORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
Mon, 5 Apr 2010 01:29:00 +0000 (10:29 +0900)
committerMORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
Mon, 5 Apr 2010 01:29:00 +0000 (10:29 +0900)
running with simple mode.

cwiki-view.el

index 9442281..e1044d3 100644 (file)
        (if (= level 1)
           "<p>\n"
         "<li>\n"))
-      (princ
-       (format "<a href=\"%s?char=%s\"
+      (unless simple
+       (princ
+        (format "<a href=\"%s?char=%s\"
 ><input type=\"submit\" value=\"add feature\" /></a>
 "
-              chise-wiki-add-url
-              (www-format-encode-string uri-char)))
+                chise-wiki-add-url
+                (www-format-encode-string uri-char))))
       (princ
        (if (= level 1)
           "<p>\n"