projects
/
hvlinux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6407e6b
)
Configure emacs to use sgml mode for XML and XSL files
author
Hugo Villeneuve
<hugo@hugovil.com>
Wed, 14 Jan 2015 21:38:20 +0000
(16:38 -0500)
committer
Hugo Villeneuve
<hugo@hugovil.com>
Sun, 1 Mar 2015 01:39:44 +0000
(20:39 -0500)
stage5/misc/emacs/emacsrc
patch
|
blob
|
history
diff --git
a/stage5/misc/emacs/emacsrc
b/stage5/misc/emacs/emacsrc
index
5777294
..
913dcab
100644
(file)
--- 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.