Fix issue with table of contents and derived html styles.
commit20a0aaa4df44585cb075ba74573b51ccc8d6af66
authorMichael Olson <mwolson@gnu.org>
Thu, 10 Aug 2006 22:22:57 +0000 (10 22:22 +0000)
committerMichael Olson <mwolson@gnu.org>
Thu, 10 Aug 2006 22:22:57 +0000 (10 22:22 +0000)
treeae85ef1d92f37bf4d9b6d92f8f8c243e3bbe838c
parent846972069f3bb0e401f83ac56cfe3f06a95822e6
Fix issue with table of contents and derived html styles.

* lisp/muse-html.el (muse-html-finalize-buffer): Since the html style
  does not derive from any other class, return `t' here.  This, along
  with the corresponding change to muse-publish.el, fixes a problem with
  the table of contents getting inserted multiple times for custom
  html-based styles.

* lisp/muse-publish.el (muse-style-run-hooks): Make sure that we do not
  run the same function twice.
git-archimport-id: mwolson@gnu.org--2006/muse--main--1.0--patch-181
lisp/muse-html.el
lisp/muse-publish.el