From: MORIOKA Tomohiko Date: Wed, 18 Jun 2014 12:59:53 +0000 (+0900) Subject: (est-format-unit): Format `omitted'. X-Git-Url: http://git.chise.org/gitweb/?a=commitdiff_plain;h=cc82080eeedc04ae0b0d6e13a047fa27b5d91328;p=chise%2Fest.git (est-format-unit): Format `omitted'. --- diff --git a/est-format.el b/est-format.el index e40b97e..667f816 100644 --- a/est-format.el +++ b/est-format.el @@ -132,6 +132,24 @@ children))) )) ) + ((eq name 'omitted) + (cond + ((eq output-format 'wiki-text) + (setq output-string "{{...}}") + ) + ((and (eq output-format 'html) + (setq object (plist-get props :object)) + (setq feature (plist-get props :feature))) + (setq children + (list + (list* 'a + (list :href + (concat (www-uri-make-object-url object) + "&feature=" + (www-uri-encode-feature-name feature))) + children))) + )) + ) ((eq name 'feature-name) (setq name 'span) (when (eq output-format 'html)