summarylogtreecommitdiffstats
path: root/emacs-pkgbuild-mode.install
blob: dd5056a7f1864abee0ff5068f33ac52cc752e0df (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
post_install() {
  cat << EOF
==> Put this in your $HOME/.emacs file to enable autoloading of pkgbuild-mode
==> and auto-recognition of "PKGBUILD" files:

(require 'pkgbuild-mode)
(setq auto-mode-alist (append '(("/PKGBUILD$" . pkgbuild-mode)) auto-mode-alist))
EOF
}

post_upgrade() {
  post_install $1
}