view move-if-change @ 66932:29c20df6248f

Fix commenting convention. Remove unnecessary leading * in custom docstrings. (flyspell-emacs): Remove unused var. (flyspell-accept-buffer-local-defs): Use save-current-buffer. (flyspell-debug-signal-no-check, flyspell-debug-signal-changed-checked) (flyspell-debug-signal-pre-word-checked, flyspell-post-command-hook) (flyspell-debug-signal-word-checked): Use with-current-buffer. (make-flyspell-overlay): Don't locally reuse a global name. (flyspell-highlight-incorrect-region) (flyspell-highlight-duplicate-region): Use flyspell-unhighlight-at. (flyspell-check-previous-highlighted-word): Use flyspell-overlay-p. (flyspell-notify-misspell): Remove unused args `start' and `end'. (flyspell-word): Adjust call accordingly. Use ispell-send-string. Wrap calls to accept-process-output inside with-local-quit since it's often called from a post-command-hook. (flyspell-correct-word, flyspell-auto-correct-word): Use ispell-send-string. (flyspell-xemacs-popup): Remove unused arg `event'. Update call.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Wed, 16 Nov 2005 17:00:29 +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