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