muse-docbook: Output an XML tag with encoding at the beginning of document.
commit7ff428038c01a0dddb305e6e12ab7b181b6523e7
authorMichael Olson <mwolson@gnu.org>
Sun, 10 Jul 2005 22:04:50 +0000 (10 22:04 +0000)
committerMichael Olson <mwolson@gnu.org>
Sun, 10 Jul 2005 22:04:50 +0000 (10 22:04 +0000)
treefbe58ec92b1e49b4cfeca82d7efb0537fda66e96
parent881cfe2741538bb4665405bc46fbe0ff6af21520
muse-docbook: Output an XML tag with encoding at the beginning of document.

* lisp/muse-docbook.el (muse-docbook-header): Add <xml> tag at beginning
  of document.
  (muse-docbook-encoding-default): New option that determines which Emacs
  buffer encoding to use by default in Muse DocBook files if none is
  found.
  (muse-docbook-charset-default): New option that determines the DocBook
  XML charset to use if no translation is found in
  muse-docbook-encoding-map.
  (muse-docbook-encoding-map): New option alist that maps an emacs coding
  system to its associated DocBook coding system.
  (muse-docbook-transform-content-type): New function that determines the
  DocBook XML encoding to use based on the contents of
  muse-docbook-encoding-map.
  (muse-docbook-encoding): New function that calls
  muse-docbook-transform-content-type.
  (muse-docbook-finalize-buffer): New function that sets the buffer file
  coding system to the value of muse-docbook-encoding-default, but only
  if the buffers contents have no special characters.
  ("docbook"): Include :after tag that calls muse-docbook-finalize-buffer.
git-archimport-id: mwolson@gnu.org--2005/muse--main--1.0--patch-122
ChangeLog
lisp/muse-docbook.el