muse-wiki: Implement implicit links for all files in project.
commit6e23d2b5ab29ac8b0d9953336bb1bb90d048460d
authorMichael Olson <mwolson@gnu.org>
Wed, 5 Apr 2006 15:00:33 +0000 (5 15:00 +0000)
committerMichael Olson <mwolson@gnu.org>
Wed, 5 Apr 2006 15:00:33 +0000 (5 15:00 +0000)
treea67e4578b98de7c51ccde6f8ddd69b95dbfa32e7
parentf739d2c9a0328207ecb68986019da9603079c4f1
parentf1c3832dd352dc6a938290449d845e5610dbf7cc
muse-wiki: Implement implicit links for all files in project.

* lisp/muse-project.el (muse-project-file-alist): Quote hook, so that we
  don't get errors when trying to use it.

* lisp/muse-wiki.el: Add `muse-wiki-update-local-wikiword-regexp' to
  muse-project-file-alist-hook.
  (muse-wiki-update-local-wikiword-regexp): Make sure that we can't get
  into a recursive call.
  (muse-wiki-update-wikiword-regexp): Call
  `muse-wiki-update-local-wikiword-regexp'.

(Author: Per B. Sederberg <per@med.upenn.edu>)

* lisp/muse-wiki.el:: Add muse-wiki-update-local-wikiword-regexp to
  muse-before-publish-hook and muse-mode-hook so that implicit links are
  published properly.
  (muse-wiki-wikiword-match-project-files): New option for determining
  whether to match all project files as implicit links.  This is off by
  default.
  (muse-wiki-update-local-wikiword-regexp): New function to make the
  wikiword-regexp local and append the files in the current project to
  it.
git-archimport-id: mwolson@gnu.org--2006/muse--main--1.0--patch-87
AUTHORS
ChangeLog.2006
lisp/muse-project.el
lisp/muse-wiki.el