org-element: Fix comment block interpreter
* contrib/lisp/org-element.el (org-element-comment-block-interpreter): Fix comment block interpreter.
This commit is contained in:
parent
7cdd0db287
commit
8e52d1d7f0
|
@ -1025,10 +1025,8 @@ containing `:begin', `:end', `:hiddenp', `:value' and
|
|||
(defun org-element-comment-block-interpreter (comment-block contents)
|
||||
"Interpret COMMENT-BLOCK element as Org syntax.
|
||||
CONTENTS is nil."
|
||||
(concat "#+BEGIN_COMMENT\n"
|
||||
(org-remove-indentation
|
||||
(org-element-property :value comment-block))
|
||||
"#+BEGIN_COMMENT"))
|
||||
(format "#+BEGIN_COMMENT\n%s#+END_COMMENT"
|
||||
(org-remove-indentation (org-element-property :value comment-block))))
|
||||
|
||||
|
||||
;;;; Example Block
|
||||
|
|
Loading…
Reference in New Issue