Function: nxml-start-auto-coding

nxml-start-auto-coding is an interactive and byte-compiled function defined in nxml-enc.el.gz.

Signature

(nxml-start-auto-coding)

Documentation

Do encoding auto-detection as specified in the XML standard.

Applied to any files that auto-mode-alist says should be handled by nxml-mode.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/nxml/nxml-enc.el.gz
(defun nxml-start-auto-coding ()
  "Do encoding auto-detection as specified in the XML standard.
Applied to any files that `auto-mode-alist' says should be handled by
`nxml-mode'."
  (interactive)
  (unless (eq set-auto-coding-function 'nxml-set-auto-coding)
    (let ((inhibit-quit t))
      (setq nxml-non-xml-set-auto-coding-function set-auto-coding-function)
      (setq set-auto-coding-function 'nxml-set-auto-coding))))