Mercurial > emacs
view move-if-change @ 107329:4e1ca27d938e
Close bug#5670 with patch from ?t?pn N?mec <stepnem at gmail.com>.
* subr.el (momentary-string-display): Don't overwrite the MESSAGE
argument with a local variable. (Bug#5670)
author | Glenn Morris <rgm@gnu.org> |
---|---|
date | Tue, 02 Mar 2010 19:58:26 -0800 |
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