# HG changeset patch # User Oleksandr Gavenko # Date 1366977427 -10800 # Node ID 970347ad41f87fbdbfb8f5d4660e9785d5b20875 # Parent 2177746c28a0441146d7d1e4ee4a84957a20cbc1 Associate .xsd/.rng files with nxml-mode. diff -r 2177746c28a0 -r 970347ad41f8 .emacs-my --- a/.emacs-my Thu Apr 25 11:59:01 2013 +0300 +++ b/.emacs-my Fri Apr 26 14:57:07 2013 +0300 @@ -2501,6 +2501,8 @@ (setq nxml-attribute-indent 4) (add-to-list 'auto-mode-alist '("\.pom\\'" . nxml-mode)) +(add-to-list 'auto-mode-alist '("\.xsd\\'" . nxml-mode)) +(add-to-list 'auto-mode-alist '("\.rng\\'" . nxml-mode)) (eval-after-load 'nxml-mode '(define-key nxml-mode-map [C-return] 'nxml-complete))