Remove inlinetask END line when excluded from export
This commit is contained in:
parent
e079584e56
commit
0a7e68575f
|
@ -1,3 +1,8 @@
|
|||
2009-10-10 Carsten Dominik <carsten.dominik@gmail.com>
|
||||
|
||||
* org-exp.el (org-export-handle-export-tags): Remove inlinetask
|
||||
END if present.
|
||||
|
||||
2009-10-07 Carsten Dominik <carsten.dominik@gmail.com>
|
||||
|
||||
* org-latex.el (org-export-latex-tables): Don't format in
|
||||
|
|
|
@ -1603,8 +1603,10 @@ removed as well."
|
|||
(when (org-at-heading-p)
|
||||
(org-back-to-heading t)
|
||||
(setq beg (point))
|
||||
(org-end-of-subtree t)
|
||||
(delete-region beg (point)))))
|
||||
(org-end-of-subtree t t)
|
||||
(delete-region beg (point))
|
||||
(when (featurep 'org-inlinetask)
|
||||
(org-inlinetask-remove-END-maybe)))))
|
||||
;; Remove everything that is now still marked for deletion
|
||||
(goto-char (point-min))
|
||||
(while (setq beg (text-property-any (point-min) (point-max) :org-delete t))
|
||||
|
|
Loading…
Reference in New Issue