Fix #5190: Endless loop in muse style-run-hooks when muse-project-publish is called...
commit6255e221ecef7917986461b67177252704cb2b00
authorMichael Olson <mwolson@gnu.org>
Sat, 25 Mar 2006 04:33:40 +0000 (25 04:33 +0000)
committerMichael Olson <mwolson@gnu.org>
Sat, 25 Mar 2006 04:33:40 +0000 (25 04:33 +0000)
tree59a89c0878587001c060066a3e44c21688041098
parentd445affa90cae05e2eddddea824be67275d24023
Fix #5190: Endless loop in muse style-run-hooks when muse-project-publish is called with undefined style.

* lisp/muse-project.el (muse-project-publish): If we cannot find a
  project to publish, indicate this in an error message.

* lisp/muse-publish.el (muse-style-run-hooks): Never go into an endless
  loop.  This should fix #5190.  Thanks to Rod Morehead for the report.
  (muse-detect-invalid-style): New function that makes sure that the
  given style is in a valid format.
  (muse-publish-file): Call `muse-detect-invalid-style' before doing any
  publishing.
git-archimport-id: mwolson@gnu.org--2006/muse--main--1.0--patch-70
ChangeLog.2006
lisp/muse-project.el
lisp/muse-publish.el