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

20 lines
395 B
Text
Raw Normal View History

2009-10-10 02:15:33 +00:00
### 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 $*
########################