diff options
author | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2015-03-28 10:48:05 +0100 |
---|---|---|
committer | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2015-03-28 10:56:11 +0100 |
commit | a0f2293405ce3932e04297470d9954df1b9e3513 (patch) | |
tree | 4015671496cc732f731e18b2b7ba78024461e7e4 | |
parent | 0ac26737f0c0cdc990388d6075b999adb4d4eebe (diff) | |
download | org-mode-a0f2293405ce3932e04297470d9954df1b9e3513.tar.gz |
Remove comment related translators in export back-ends
* lisp/ox-ascii.el (ascii):
* lisp/ox-latex.el (latex):
* lisp/ox-man.el (man):
* lisp/ox-md.el (md):
* lisp/ox-org.el (org):
* lisp/ox-texinfo.el (texinfo):
* contrib/lisp/ox-groff.el (groff): Remove `comment' and
`comment-block' translators.
`comment' and `comment-block' translators are not needed since both
commented lines and comment blocks do not appear anymore in the parse
tree. See 69dd4301ab7aeb581968f1c7e75167338d024c8f.
-rw-r--r-- | contrib/lisp/ox-groff.el | 2 | ||||
-rw-r--r-- | lisp/ox-ascii.el | 2 | ||||
-rw-r--r-- | lisp/ox-latex.el | 2 | ||||
-rw-r--r-- | lisp/ox-man.el | 2 | ||||
-rw-r--r-- | lisp/ox-md.el | 4 | ||||
-rw-r--r-- | lisp/ox-org.el | 2 | ||||
-rw-r--r-- | lisp/ox-texinfo.el | 2 |
7 files changed, 1 insertions, 15 deletions
diff --git a/contrib/lisp/ox-groff.el b/contrib/lisp/ox-groff.el index d0290dc..c776d3c 100644 --- a/contrib/lisp/ox-groff.el +++ b/contrib/lisp/ox-groff.el @@ -50,8 +50,6 @@ (center-block . org-groff-center-block) (clock . org-groff-clock) (code . org-groff-code) - (comment . (lambda (&rest args) "")) - (comment-block . (lambda (&rest args) "")) (drawer . org-groff-drawer) (dynamic-block . org-groff-dynamic-block) (entity . org-groff-entity) diff --git a/lisp/ox-ascii.el b/lisp/ox-ascii.el index b7d8425..42495e2 100644 --- a/lisp/ox-ascii.el +++ b/lisp/ox-ascii.el @@ -49,8 +49,6 @@ (center-block . org-ascii-center-block) (clock . org-ascii-clock) (code . org-ascii-code) - (comment . (lambda (&rest args) "")) - (comment-block . (lambda (&rest args) "")) (drawer . org-ascii-drawer) (dynamic-block . org-ascii-dynamic-block) (entity . org-ascii-entity) diff --git a/lisp/ox-latex.el b/lisp/ox-latex.el index 9e86863..51ba042 100644 --- a/lisp/ox-latex.el +++ b/lisp/ox-latex.el @@ -43,8 +43,6 @@ (center-block . org-latex-center-block) (clock . org-latex-clock) (code . org-latex-code) - (comment . (lambda (&rest args) "")) - (comment-block . (lambda (&rest args) "")) (drawer . org-latex-drawer) (dynamic-block . org-latex-dynamic-block) (entity . org-latex-entity) diff --git a/lisp/ox-man.el b/lisp/ox-man.el index b43c7f6..c283f7d 100644 --- a/lisp/ox-man.el +++ b/lisp/ox-man.el @@ -55,8 +55,6 @@ (center-block . org-man-center-block) (clock . org-man-clock) (code . org-man-code) - (comment . (lambda (&rest args) "")) - (comment-block . (lambda (&rest args) "")) (drawer . org-man-drawer) (dynamic-block . org-man-dynamic-block) (entity . org-man-entity) diff --git a/lisp/ox-md.el b/lisp/ox-md.el index 0c2fd4d..181ecb1 100644 --- a/lisp/ox-md.el +++ b/lisp/ox-md.el @@ -1,6 +1,6 @@ ;;; ox-md.el --- Markdown Back-End for Org Export Engine -;; Copyright (C) 2012-2014 Free Software Foundation, Inc. +;; Copyright (C) 2012-2015 Free Software Foundation, Inc. ;; Author: Nicolas Goaziou <n.goaziou@gmail.com> ;; Keywords: org, wp, markdown @@ -68,8 +68,6 @@ This variable can be set to either `atx' or `setext'." (org-open-file (org-md-export-to-markdown nil s v))))))) :translate-alist '((bold . org-md-bold) (code . org-md-verbatim) - (comment . (lambda (&rest args) "")) - (comment-block . (lambda (&rest args) "")) (example-block . org-md-example-block) (export-block . org-md-export-block) (fixed-width . org-md-example-block) diff --git a/lisp/ox-org.el b/lisp/ox-org.el index b0eb279..658983e 100644 --- a/lisp/ox-org.el +++ b/lisp/ox-org.el @@ -57,8 +57,6 @@ setting of `org-html-htmlize-output-type' is 'css." (center-block . org-org-identity) (clock . org-org-identity) (code . org-org-identity) - (comment . (lambda (&rest args) "")) - (comment-block . (lambda (&rest args) "")) (diary-sexp . org-org-identity) (drawer . org-org-identity) (dynamic-block . org-org-identity) diff --git a/lisp/ox-texinfo.el b/lisp/ox-texinfo.el index bdf0c83..140e217 100644 --- a/lisp/ox-texinfo.el +++ b/lisp/ox-texinfo.el @@ -39,8 +39,6 @@ (center-block . org-texinfo-center-block) (clock . org-texinfo-clock) (code . org-texinfo-code) - (comment . (lambda (&rest args) "")) - (comment-block . (lambda (&rest args) "")) (drawer . org-texinfo-drawer) (dynamic-block . org-texinfo-dynamic-block) (entity . org-texinfo-entity) |