Fix bug where project-specific settings were being ignored at publish time
commit9ada7d1535d034c10fd315cbe6e7fccec470ebb7
authorMichael W. Olson <mwolson@gnu.org>
Mon, 13 Aug 2007 01:27:13 +0000 (12 21:27 -0400)
committerMichael W. Olson <mwolson@gnu.org>
Mon, 13 Aug 2007 01:27:13 +0000 (12 21:27 -0400)
treeebdbabe3c910c7b9309dd40c92f39745b90c51c5
parentcd9369853d306cf8893a636ff05e4edc7446ed27
Fix bug where project-specific settings were being ignored at publish time

* lisp/muse-project.el (muse-project-publish-this-file): Let-bind
  muse-current-project.  Also, if the file is not associated with a
  project, fall back to muse-publish-this-file.
  (muse-project-set-variables): Add this to muse-before-publish-hook, so
  that it gets called.  This fixes a bug where project-specific variables
  were being used in Muse mode, but ignored when publishing.
ChangeLog
lisp/muse-project.el