1
0
mirror of https://git.savannah.gnu.org/git/emacs/org-mode.git synced 2024-11-26 07:33:39 +00:00

Merge branch 'maint'

This commit is contained in:
Nicolas Goaziou 2014-02-25 17:43:05 +01:00
commit 96fe2dec3b

View File

@ -643,11 +643,11 @@ contextual information."
(and (eq (org-element-type first-element) 'paragraph)
(org-beamer--element-has-overlay-p first-element))))
(output (org-export-with-backend 'latex item contents info)))
(if (not action) output
(if (or (not action) (not (string-match "\\\\item" output))) output
;; If the item starts with a paragraph and that paragraph starts
;; with an export snippet specifying an overlay, insert it after
;; \item command.
(replace-regexp-in-string "\\\\item" (concat "\\\\item" action) output))))
(replace-match (concat "\\\\item" action) nil nil output))))
;;;; Keyword