Make nested list items work when separated by one blank line.
commit5b21384cdb785d472efcc776b19f1ab804d4db1b
authorMichael Olson <mwolson@gnu.org>
Wed, 1 Mar 2006 19:51:45 +0000 (1 19:51 +0000)
committerMichael Olson <mwolson@gnu.org>
Wed, 1 Mar 2006 19:51:45 +0000 (1 19:51 +0000)
treea5f7f8849c264e586b5961655e2f88fd15e29924
parentff658251815903149fc54f9a3e68fa51558bfd07
Make nested list items work when separated by one blank line.

* lisp/muse-publish.el (muse-publish-surround-dl): Use
  muse-forward-dl-item instead of muse-forward-list-item.  On second
  thought, don't unconditionally insert a newline, as that breaks some
  things.
  (muse-forward-dl-item): New function that moves forward to the next
  definition list item.  This was factored out from
  muse-forward-list-item, since it was getting too complex for my liking.
  (muse-forward-dl-item, muse-forward-list-item): Introduce concept of
  indented line, and skip past these if we have a blank line followed by
  an indented line.  "Indented" means "indented one past the current
  indentation level" here.  Remove some initial whitespace that was being
  overlooked before.
git-archimport-id: mwolson@gnu.org--2006/muse--main--1.0--patch-32
ChangeLog.2006
lisp/muse-publish.el
lisp/muse-regexps.el