Skip to content

Commit

Permalink
Append implicit file link update to publish/save hooks.
Browse files Browse the repository at this point in the history
* lisp/muse-wiki.el (muse-before-publish-hook): Add
  update-local-wikiword-regexp to before-publish so that implicit links
  are published properly.

* muse-wiki.el (after-save-hook): Add update-local-wikiword-regexp to
  update after save.

--This line, and those below, will be ignored--
Files to commit:
   lisp/muse-wiki.el

This list might be incomplete or outdated if editing the log
message was not invoked from an up-to-date changes buffer!
git-archimport-id: mwolson@gnu.org--2006-muse-el/muse-el--devel--0--patch-40
  • Loading branch information
Per B. Sederberg committed Apr 5, 2006
1 parent d23a872 commit f1c3832
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lisp/muse-wiki.el
Expand Up @@ -102,6 +102,10 @@ all the files in the project."
;; add the update-local-wikiword to all the right hooks
(add-hook 'muse-mode-hook
'muse-wiki-update-local-wikiword-regexp-hook)
(add-hook 'muse-before-publish-hook
'muse-wiki-update-local-wikiword-regexp-hook)
(add-hook 'after-save-hook
'muse-wiki-update-local-wikiword-regexp-hook)

(defcustom muse-wiki-ignore-bare-project-names nil
"Determine whether project names without a page specifer are links.
Expand Down

0 comments on commit f1c3832

Please sign in to comment.