From cc82080eeedc04ae0b0d6e13a047fa27b5d91328 Mon Sep 17 00:00:00 2001 From: MORIOKA Tomohiko Date: Wed, 18 Jun 2014 21:59:53 +0900 Subject: [PATCH] (est-format-unit): Format `omitted'. --- est-format.el | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) 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) -- 1.7.10.4