1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-28 01:06:17 +00:00
freebsd-ports/www/apache-mode.el/pkg-message
Pav Lucistnik 00192b6e9f [X]Emacs major mode for editing Apache configuration files
WWW: http://www.emacswiki.org/cgi-bin/wiki/apache-mode.el

PR:		ports/105567
Submitted by:	Max N. Boyarov <m.boyarov@bsd.by>
2006-11-21 20:56:01 +00:00

16 lines
664 B
Plaintext

===================================================================
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))
===================================================================