Mercurial > emacs
view move-if-change @ 64740:eeed7a7c1afa
(grep-regexp-alist): Set 5th arg `TYPE' to
0 instead of 1 to display binary file names as info file links.
(grep-error-face): Use `compilation-error-face' instead of
`font-lock-keyword-face'.
(grep-mode-font-lock-keywords): Use `compilation-info-text-face'
and `compilation-warning-text-face' instead of `font-lock-keyword-face'.
Use `compilation-error-text-face' instead of `grep-error-face'.
author | Juri Linkov <juri@jurta.org> |
---|---|
date | Sat, 06 Aug 2005 01:10:19 +0000 |
parents | 354e0c45cedf |
children | 14a97ab281d5 |
line wrap: on
line source
#!/bin/sh if test -r $2 then if cmp $1 $2 > /dev/null then echo $2 is unchanged rm -f $1 else mv -f $1 $2 fi else mv -f $1 $2 fi