Fix bug with directives like #title leaking out of included regions
commitd2362eb1477641c6dc2b2b1cd8a6157a64a61c15
authorMichael W. Olson <mwolson@gnu.org>
Mon, 13 Aug 2007 03:36:14 +0000 (12 23:36 -0400)
committerMichael W. Olson <mwolson@gnu.org>
Mon, 13 Aug 2007 03:36:14 +0000 (12 23:36 -0400)
treecca2be2676ed573677c9929022c33800bbb72adb
parentbfcd2e7adc5e01ff88d4cf552e2091550c6027d2
Fix bug with directives like #title leaking out of included regions

* lisp/muse-publish.el (muse-publish-cite-tag): Don't let-bind
  muse-publishing-directives, because there is no need to do so.  Fix
  code indentation.
  (muse-publish-markup-attribute): Avoid multiple evaluation of attrs
  argument, in case it is list value instead of a symbol.  Use sexp
  instead of form in the edebug-form-spec.
  (muse-publish-include-tag): Make a full copy of
  muse-publishing-directives, since it can be modified with setcdr.  This
  fixes a bug where #title and some other directives were leaking out of
  an included region.
  (muse-publish-mark-up-tag): Don't let-bind muse-publishing-directives,
  because there is no need to do so.
ChangeLog
lisp/muse-publish.el