summarylogtreecommitdiffstats
path: root/emacs-apache-mode.install
blob: 083215e59bb47855ad1ee0d02e307f6e06d8bf10 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
post_install() {
  cat << EOF
==> Put this in your '~/.emacs' file to enable autoloading of apache-mode
==> and auto-recognition of "httpd.conf" files:

(autoload 'apache-mode "apache-mode.el" "Apache conf mode." t)
(setq auto-mode-alist (cons '("/httpd.conf$" . apache-mode) auto-mode-alist))
(setq auto-mode-alist (cons '("^/etc/httpd/conf/.*\\.conf" . apache-mode) auto-mode-alist))

EOF
}

post_upgrade() {
  post_install $1
}