Mercurial > emacs
view move-if-change @ 89586:5d96febc427b
(Fw32_set_clipboard_data): Use string_x_string_p in place of
find_charset_in_text. Use encode_coding_object in place of encode_coding.
(Fw32_get_clipboard_data): Use decode_coding_c_string in place of
decode_coding.
author | Jason Rumney <jasonr@gnu.org> |
---|---|
date | Sat, 11 Oct 2003 22:41:38 +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