PKGBUILDs/community/emacs-python-mode/emacs-python-mode.install
2009-10-09 21:15:33 -05:00

19 lines
395 B
Text

### python-mode.install:
post_install () {
cat << EOF
==> Put this in your $HOME/.emacs file to enable python-mode
==> autoloading and autorecognition of "*.py" files:
(autoload 'python-mode "python-mode.el" "Python mode." t)
(setq auto-mode-alist (append '(("/*.\.py$" . python-mode)) auto-mode-alist))
EOF
}
post_upgrade () {
post_install $1
}
op=$1
shift
$op $*
########################