X-Git-Url: http://gitweb.hugovil.com/?a=blobdiff_plain;f=stage5%2Fmisc%2Femacs%2Femacsrc;h=913dcabf11876801f6b8783b9ffc9a30ed5bf891;hb=ac7e7609eac8590a017ff18a75e8d711c9f56c01;hp=5777294c00f8fa17736b257f56d6ef109d3608fc;hpb=6407e6b5f15f2c857028b4f1a82b0624ecab0bf2;p=hvlinux.git diff --git a/stage5/misc/emacs/emacsrc b/stage5/misc/emacs/emacsrc index 5777294..913dcab 100644 --- a/stage5/misc/emacs/emacsrc +++ b/stage5/misc/emacs/emacsrc @@ -201,6 +201,10 @@ (add-to-list 'auto-mode-alist '("/ac\\(include\\|local\\)\\.m4\\'" . autoconf-mode)) +;; Default for XSL and XML files. +(add-to-list 'auto-mode-alist '("\\.xsl$" . sgml-mode)) +(add-to-list 'auto-mode-alist '("\\.xml$" . sgml-mode)) + ;; When an Emacs init file gets large or has a lot of function definitions, you ;; should consider compiling it: it will load faster when Emacs starts, and its ;; functions will execute faster.