mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-12-28 23:21:53 +00:00
19 lines
401 B
Text
19 lines
401 B
Text
|
post_install() {
|
||
|
cat << EOF
|
||
|
==> To set up Emacs to automatically edit files ending in .lua using Lua-mode
|
||
|
add the following to your ~/.emacs file (GNU Emacs) or ~/.xemacs/init.el
|
||
|
file (XEmacs):
|
||
|
(setq auto-mode-alist (cons '("\\.lua$" . lua-mode) auto-mode-alist))
|
||
|
(autoload 'lua-mode "lua-mode" "Lua editing mode." t)
|
||
|
EOF
|
||
|
}
|
||
|
|
||
|
post_upgrade() {
|
||
|
post_install $1
|
||
|
}
|
||
|
|
||
|
op=$1
|
||
|
shift
|
||
|
|
||
|
$op $*
|