updated on Thu Jan 12 04:00:44 UTC 2012
[aur-mirror.git] / emacs-rainbow-mode / emacs-rainbow-mode.install
blob550fb8fbd1d2119b86fef48a156300ef68b607f5
1 #!/bin/sh
3 post_install() {
4 cat << EOF
5 ==> Put this in your '$HOME/.emacs' file to enable autoloading of rainbow-mode
6 ==> when editing css files
8 (defun css-rainbow-mode() (css-mode) (rainbow-mode))
9 (add-to-list 'auto-mode-alist '("\\.css$" . css-rainbow-mode))
11 EOF
14 post_upgrade() {
15 post_install $1