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