mirror of
https://git.savannah.gnu.org/git/emacs/org-mode.git
synced 2024-08-26 10:02:52 +00:00
LaTeX export: leave empty lines after list in place
Nicolas Girard writes: > My point was, in the following two examples, the empty lines right > before "C" should be preserved in the LaTeX output. > > Cheers, > Nicolas > > #=== > - A2 > - B2 > > C > #=== > > > #=== > - A3 > - B3 > > > C > #===
This commit is contained in:
parent
d080c9f6be
commit
eb5cefed26
|
@ -1,5 +1,8 @@
|
|||
2009-12-03 Carsten Dominik <carsten.dominik@gmail.com>
|
||||
|
||||
* org-list.el (org-list-parse-list): Leave empty lines after the
|
||||
list, don't consider them as part of the list.
|
||||
|
||||
* org-mobile.el (org-mobile-sumo-agenda-command): Allow tagstodo
|
||||
searches.
|
||||
|
||||
|
|
|
@ -1083,7 +1083,10 @@ Return a list containing first level items as strings and
|
|||
sublevels as a list of strings."
|
||||
(let* ((item-beginning (org-list-item-beginning))
|
||||
(start (car item-beginning))
|
||||
(end (org-list-end (cdr item-beginning)))
|
||||
(end (save-excursion
|
||||
(goto-char (org-list-end (cdr item-beginning)))
|
||||
(org-back-over-empty-lines)
|
||||
(point)))
|
||||
output itemsep ltype)
|
||||
(while (re-search-forward org-list-beginning-re end t)
|
||||
(goto-char (match-beginning 3))
|
||||
|
|
Loading…
Reference in a new issue