# HG changeset patch # User Oleksandr Gavenko # Date 1447153465 -7200 # Node ID 57b16a684500208c65b0594c21e72a587ef972c4 # Parent 8c1f6458c907c658b4b1bb4c52fe0530b7afc5e2 Additional file extension for nxml-mode. diff -r 8c1f6458c907 -r 57b16a684500 .emacs-my --- a/.emacs-my Sun Nov 01 15:13:52 2015 +0200 +++ b/.emacs-my Tue Nov 10 13:04:25 2015 +0200 @@ -2923,6 +2923,10 @@ (add-to-list 'auto-mode-alist '("\.xsd\\'" . nxml-mode)) (add-to-list 'auto-mode-alist '("\.rng\\'" . nxml-mode)) (add-to-list 'auto-mode-alist '("\.xul\\'" . nxml-mode)) +(add-to-list 'auto-mode-alist '("\.xslt\\'" . nxml-mode)) +(add-to-list 'auto-mode-alist '("\.svg\\'" . nxml-mode)) +(add-to-list 'auto-mode-alist '("\.rss\\'" . nxml-mode)) +(add-to-list 'auto-mode-alist '("\.atom\\'" . nxml-mode)) (my--eval-after-load nxml-mode (define-key nxml-mode-map [C-return] 'nxml-complete))