mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-12-08 23:03:46 +00:00
20 lines
384 B
Text
20 lines
384 B
Text
|
### 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 $*
|
||
|
########################
|