Make <include> tag work with markup="src"
commit4b90c30da3e62f9b9ee4661ec38c76507830b3e6
authorMichael Olson <mwolson@gnu.org>
Wed, 3 Jan 2007 23:38:07 +0000 (3 23:38 +0000)
committerMichael Olson <mwolson@gnu.org>
Wed, 3 Jan 2007 23:38:07 +0000 (3 23:38 +0000)
tree0abb2d906bce76238701df087e70e5e263ea324a
parenta5fb9fdc4747b1319ccc2899758108d8e74a1863
Make <include> tag work with markup="src"

2007-01-03  Michael Olson  <mwolson@gnu.org>

* lisp/muse-html.el (muse-html-src-tag): Document.

* lisp/muse-publish.el (muse-publish-call-tag-on-buffer): New
command that calls a given tag on the current buffer.  Attributes
may be passed.
(muse-publish-examplify-buffer, muse-publish-versify-buffer): Use
it.
(muse-publish-srcify-buffer): New function that allows
markup="src" in the <include> tag.
(muse-publish-get-and-delete-attr): New macro that gets an
attribute from a list and removes the first instance of that
attribute from said list.
(muse-publish-markup-attribute): Handle markup="src".
(muse-publish-command-tag, muse-publish-include-tag): Use
muse-publish-get-and-delete-attr.  This allows the remaining
attributes to be passed.

* texi/muse.texi (Tag Summary): Update for new <src> tag as well
as changes to <command> and <include>.
git-archimport-id: mwolson@gnu.org--2006/muse--main--1.0--patch-264
ChangeLog
lisp/muse-html.el
lisp/muse-publish.el
texi/muse.texi