mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-01-17 23:34:07 +00:00
20 lines
395 B
Text
20 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 $*
|
||
|
########################
|