Make published link handling do the right thing, plus misc. fixes.
commit12a5052e13fe70f0a04a5c382bcd3d1a2534304f
authorMichael Olson <mwolson@gnu.org>
Wed, 13 Jul 2005 21:12:27 +0000 (13 21:12 +0000)
committerMichael Olson <mwolson@gnu.org>
Wed, 13 Jul 2005 21:12:27 +0000 (13 21:12 +0000)
treeabdaefa57b6d620abf746c290d1c31595e8a8eaa
parent4d0a8e55fce9821f3126c0c056e8a14fa149e24e
Make published link handling do the right thing, plus misc. fixes.

* lisp/muse-mode.el (muse-mode-hook): Add option for
  `muse-wiki-update-custom-values'.  The :set function makes sure that
  this is always included in `muse-mode-hook' if muse-wiki is loaded.
  This probably isn't best-practice, but it works.

* lisp/muse-project.el (muse-project-of-file): Fix some duplicated code.
  Save match data.

* lisp/muse-publish.el (muse-publish-url-transforms): Add
  `muse-publish-prepare-url' to the listed options.

* lisp/muse-publish.el (muse-publish-output-file): Handle case where
  output-dir is not specified.

* lisp/muse-publish.el (muse-publish-markup-link): Call link handlers
  here instead of later on.

* lisp/muse-wiki.el (muse-wiki-update-interwiki-regexp): Try to do the
  right thing when `muse-wiki-interwiki-alist' is nil.

* lisp/muse-wiki.el (muse-wiki-output-name): Removed in favor of calling
  `muse-publish-output-file'.

* lisp/muse-wiki.el (muse-wiki-transform-interwiki)
  (muse-wiki-transform-wikiword): Removed.  We should not use the
  publishing transforms facility to handle these.

* lisp/muse-wiki.el ("muse-publish"): Publish wikiwords and interwiki
  links as "link" rather than "url".

* lisp/muse-wiki.el (muse-wiki-update-custom-values): New function that
  takes care of any customization cleaups that need to happen whenever
  muse-mode is entered.

* lisp/muse.el (muse-implicit-link-functions): Add options for
  `muse-handle-url' and the wiki handlers.
  (muse-explicit-link-functions): Add option for
  `muse-wiki-handle-internal'.
git-archimport-id: mwolson@gnu.org--2005/muse--main--1.0--patch-133
ChangeLog
lisp/muse-mode.el
lisp/muse-project.el
lisp/muse-publish.el
lisp/muse-wiki.el
lisp/muse.el