blob: 3ab2fa1c4198179b6591cf420f9f549bbe9e974b (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
===================================================================
Put this in your .emacs file to enable autoloading of apache-mode,
and auto-recognition of Apache configs:
(autoload 'apache-mode "apache-mode" nil 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
'("sites-\\(available\\|enabled\\)/" . apache-mode))
===================================================================
|