Try to fix error when loading Muse with muse-project-alist set to nil
commit987212fa41fe1794a4e354d47e28d5c8099ba619
authorMichael Olson <mwolson@gnu.org>
Wed, 11 Jul 2007 02:54:26 +0000 (11 02:54 +0000)
committerMichael Olson <mwolson@gnu.org>
Wed, 11 Jul 2007 02:54:26 +0000 (11 02:54 +0000)
tree1e18b0c7c54e2256dffe419c181a5d740960a5f9
parent4306d2da34730ab5510bf51dcd2d2832fccc4aa6
Try to fix error when loading Muse with muse-project-alist set to nil

2007-07-10  Michael Olson  <mwolson@gnu.org>

* lisp/muse-mode.el (muse-grep): Abort search if the current
project contains no directories.

* lisp/muse-project.el (muse-project-file-alist): If
muse-project-alist is not defined, or project is nil, return nil
right away.  This ought to fix a bug that occurred when using Muse
with muse-project-alist set to nil.
(muse-project-of-file): Make sure muse-project-alist is not nil.
(muse-project-save-buffers): Make sure project is not nil.

* lisp/muse-wiki.el (muse-wiki-resolve-project-page): Deal with
case where muse-project-alist is nil.
git-archimport-id: mwolson@gnu.org--2006/muse--main--1.0--patch-383
ChangeLog
lisp/muse-mode.el
lisp/muse-project.el
lisp/muse-wiki.el