PKGBUILDs/community/emacs-lua-mode/emacs-lua-mode.install

19 lines
401 B
Text
Raw Normal View History

2009-10-10 02:15:33 +00:00
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 $*