Make resolving of inline image paths more flexible.
commitc4eaeb61ca4df121309b665f0eb42a5099825011
authorMichael Olson <mwolson@gnu.org>
Fri, 10 Mar 2006 04:57:55 +0000 (10 04:57 +0000)
committerMichael Olson <mwolson@gnu.org>
Fri, 10 Mar 2006 04:57:55 +0000 (10 04:57 +0000)
tree19c56271cb5da0f2000980676f267bd537fd53c2
parent13e48f895c79b1a0c16800512b6182d8814fb15d
Make resolving of inline image paths more flexible.

* lisp/muse-colors.el (muse-colors-inline-image-method): Rename from
  `muse-inline-relative-to'.  Add muse-colors-use-publishing-directory
  option.  Make the fallback customization type a function rather than a
  symbol.
  (muse-colors-use-publishing-directory): New function that takes the
  best guess at where the current Muse file will be published and makes
  the given link relative to that.
  (muse-colors-insert-image): If muse-colors-inline-image-method is
  'default-directory, use the default directory.  If it is a function,
  call that function with LINK as an argument.  Otherwise, give up.
git-archimport-id: mwolson@gnu.org--2006/muse--main--1.0--patch-50
ChangeLog.2006
lisp/muse-colors.el