PKGBUILDs/community/emacs-php-mode/emacs-php-mode.install

20 lines
384 B
Text
Raw Normal View History

2009-10-10 02:15:33 +00:00
### php-mode.install:
post_install () {
cat << EOF
==> Put this in your $HOME/.emacs file to enable php-mode autoloading
==> and autorecognition of "*.php" files:
(autoload 'php-mode "php-mode.el" "Php mode." t)
(setq auto-mode-alist (append '(("/*.\.php[345]?$" . php-mode)) auto-mode-alist))
EOF
}
post_upgrade () {
post_install $1
}
op=$1
shift
$op $*
########################