updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / emacs-apache-mode / emacs-apache-mode.install
blobc9415b44662df20377e4965436f1905c29189a59
1 #!/bin/sh
3 post_install() {
4 cat << EOF
5 ==> Put this in your '$HOME/.emacs' file to enable autoloading of apache-mode
6 ==> and auto-recognition of "httpd.conf" files:
8 (autoload 'apache-mode "apache-mode.el" "Apache conf mode." t)
9 (setq auto-mode-alist (cons '("/httpd.conf$" . apache-mode) auto-mode-alist))
10 (setq auto-mode-alist (cons '("^/etc/httpd/conf/.*\\.conf" . apache-mode) auto-mode-alist))
12 EOF
15 post_upgrade() {
16 post_install $1