annotate move-if-change @ 88289:2d481143eb08

(rmail-narrow-to-non-pruned-header): Deleted. (rmail-unknown-mail-followup-to, rmail-retry-failure): No longer call rmail-narrow-to-non-pruned-header and replace mail-fetch-field with rmail-header-get-header because that one ignores the intangible property when searching. (rmail-show-message): Simplify x-coding-system handling. (rmail-redecode-body): No longer call rmail-header-show-headers because rmail-header-get-header handles the intanglible property. (rmail-reply): Simplify code at the price of some efficiency when setting up the variable bindings. No longer toggle visibility of headers, because rmail-header-show-headers is no longer necessary.
author Alex Schroeder <alex@gnu.org>
date Mon, 23 Jan 2006 23:20:56 +0000
parents 354e0c45cedf
children 14a97ab281d5
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
25856
Dave Love <fx@gnu.org>
parents:
diff changeset
1 #!/bin/sh
Dave Love <fx@gnu.org>
parents:
diff changeset
2 if
Dave Love <fx@gnu.org>
parents:
diff changeset
3 test -r $2
Dave Love <fx@gnu.org>
parents:
diff changeset
4 then
Dave Love <fx@gnu.org>
parents:
diff changeset
5 if
Dave Love <fx@gnu.org>
parents:
diff changeset
6 cmp $1 $2 > /dev/null
Dave Love <fx@gnu.org>
parents:
diff changeset
7 then
Dave Love <fx@gnu.org>
parents:
diff changeset
8 echo $2 is unchanged
Dave Love <fx@gnu.org>
parents:
diff changeset
9 rm -f $1
Dave Love <fx@gnu.org>
parents:
diff changeset
10 else
Dave Love <fx@gnu.org>
parents:
diff changeset
11 mv -f $1 $2
Dave Love <fx@gnu.org>
parents:
diff changeset
12 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
13 else
Dave Love <fx@gnu.org>
parents:
diff changeset
14 mv -f $1 $2
Dave Love <fx@gnu.org>
parents:
diff changeset
15 fi