diff --git a/lisp/org-latex.el b/lisp/org-latex.el index d725fc8..73a71b3 100644 --- a/lisp/org-latex.el +++ b/lisp/org-latex.el @@ -1202,22 +1202,17 @@ If END is non-nil, it is the end of the region." (end (if (re-search-forward "^\\*+ " end t) (goto-char (match-beginning 0)) (goto-char (or end (point-max)))))) - (prog1 - (org-export-latex-content - (org-export-preprocess-string - (buffer-substring pt end) - :for-LaTeX t - :emph-multiline t - :add-text nil - :comments nil - :skip-before-1st-heading nil - :LaTeX-fragments nil - :timestamps (plist-get opt-plist :timestamps) - :footnotes (plist-get opt-plist :footnotes))) - (org-unmodified - (let ((inhibit-read-only t)) - (add-text-properties pt (max pt (1- end)) - '(:org-license-to-kill t)))))))) + (org-export-latex-content + (org-export-preprocess-string + (buffer-substring pt end) + :for-LaTeX t + :emph-multiline t + :add-text nil + :comments nil + :skip-before-1st-heading nil + :LaTeX-fragments nil + :timestamps (plist-get opt-plist :timestamps) + :footnotes (plist-get opt-plist :footnotes)))))) (defvar org-export-latex-header-defs nil "The header definitions that might be used in the LaTeX body.")