PKGBUILDs/community/emacs-lua-mode/emacs-lua-mode.install
2009-10-09 21:15:33 -05:00

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 $*