Function: nxml-cleanup

nxml-cleanup is a byte-compiled function defined in nxml-mode.el.gz.

Signature

(nxml-cleanup)

Documentation

Clean up after nxml-mode.

Source Code

;; Defined in /usr/src/emacs/lisp/nxml/nxml-mode.el.gz
(defun nxml-cleanup ()
  "Clean up after `nxml-mode'."
  ;; Disable associated minor modes.
  (rng-validate-mode -1)
  ;; Clean up fontification.
  (save-excursion
    (widen)
    (with-silent-modifications
      (remove-text-properties (point-min) (point-max) '(face nil))))
  (remove-hook 'change-major-mode-hook #'nxml-cleanup t))