Function: nxml-set-xml-coding

nxml-set-xml-coding is a byte-compiled function defined in nxml-enc.el.gz.

Signature

(nxml-set-xml-coding FILE-NAME SIZE)

Documentation

Function to use as set-auto-coding-function when file is known to be XML.

Source Code

;; Defined in /usr/src/emacs/lisp/nxml/nxml-enc.el.gz
(defun nxml-set-xml-coding (_file-name size)
  "Function to use as `set-auto-coding-function' when file is known to be XML."
  (nxml-detect-coding-system (+ (point) (min size 1024))))