repo.or.cz
/
aur-mirror.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
updated on Thu Jan 12 04:00:44 UTC 2012
[aur-mirror.git]
/
emacs-rainbow-mode
/
emacs-rainbow-mode.install
blob
550fb8fbd1d2119b86fef48a156300ef68b607f5
1
#!/bin/sh
2
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
7
8
(defun css-rainbow-mode() (css-mode) (rainbow-mode))
9
(add-to-list 'auto-mode-alist '("\\.css$" . css-rainbow-mode))
10
11
EOF
12
}
13
14
post_upgrade
() {
15
post_install
$1
16
}