summaryrefslogtreecommitdiff
path: root/app-emacs/apache-mode/files/50apache-mode-gentoo.el
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /app-emacs/apache-mode/files/50apache-mode-gentoo.el
reinit the tree, so we can have metadata
Diffstat (limited to 'app-emacs/apache-mode/files/50apache-mode-gentoo.el')
-rw-r--r--app-emacs/apache-mode/files/50apache-mode-gentoo.el8
1 files changed, 8 insertions, 0 deletions
diff --git a/app-emacs/apache-mode/files/50apache-mode-gentoo.el b/app-emacs/apache-mode/files/50apache-mode-gentoo.el
new file mode 100644
index 000000000000..c8ceb9f8c080
--- /dev/null
+++ b/app-emacs/apache-mode/files/50apache-mode-gentoo.el
@@ -0,0 +1,8 @@
+(add-to-list 'load-path "@SITELISP@")
+(autoload 'apache-mode "apache-mode" "autoloaded" t)
+(add-to-list 'auto-mode-alist '("\\.htaccess$" . apache-mode))
+(add-to-list 'auto-mode-alist '("httpd\\.conf$" . apache-mode))
+(add-to-list 'auto-mode-alist '("srm\\.conf$" . apache-mode))
+(add-to-list 'auto-mode-alist '("access\\.conf$" . apache-mode))
+(add-to-list 'auto-mode-alist '("apache[12]\?\\.conf$" . apache-mode))
+(add-to-list 'auto-mode-alist '("commonapache[12]\?\\.conf$" . apache-mode))