updated on Sat Jan 21 20:03:50 UTC 2012
[aur-mirror.git] / emacs-po-mode / emacs-po-mode.install
blob0b11de0b76bb1e162f19fa5d92fc1920a25217a5
1 post_install() {
2   cat << _EOF
3 ==> Add the followings into your \$HOME/.emacs file to enable PO-mode
4 ==> autoloading and autorecognition of "*.po" files:
6   (setq auto-mode-alist
7         (cons '("\\.po\\'\\|\\.po\\." . po-mode) auto-mode-alist))
8   (autoload 'po-mode "po-mode" "Major mode for translators to edit PO files" t)
9   (modify-coding-system-alist 'file "\\.po\\'\\|\\.po\\."
10                               'po-find-file-coding-system)
11   (autoload 'po-find-file-coding-system "po-mode")
13 _EOF
16 post_upgrade() {
17   post_install $1