Checkpoint my definition list publishing changes
commit10afba90ff6ad7db74b01893ab549082bb7761c2
authorMichael Olson <mwolson@gnu.org>
Sat, 28 Oct 2006 21:37:14 +0000 (28 21:37 +0000)
committerMichael Olson <mwolson@gnu.org>
Sat, 28 Oct 2006 21:37:14 +0000 (28 21:37 +0000)
tree71d000a68c1f79a0dda651e09a6edf77408d8da5
parent1ff23413c06a42c67c7d5268a46957966c7fc51f
Checkpoint my definition list publishing changes

2006-10-28  Michael Olson  <mwolson@gnu.org>

* lisp/muse-publish.el (muse-publish-determine-dl-indent): New
function that is used as a callback to determine the initial
amount of indentation that the current dl item has.
(muse-publish-surround-dl): Use it.  Pass the initial indent value
and the post-indent value, instead of trying to determine them
both.
(muse-publish-strip-list-indentation): New function stripped from
`muse-publish-surround-text' for readability.
(muse-publish-surround-text): Instead of taking a determine-indent
value, take a determine-indent-func function, which is called just
after finding the next list item.  There are still some definition
list bugs with this implementation, but I need to checkpoint it.
git-archimport-id: mwolson@gnu.org--2006/muse--main--1.0--patch-225
ChangeLog
lisp/muse-publish.el