Mercurial > emacs
view move-if-change @ 65069:fc42a1decf2d
(Info-insert-dir): Use save-excursion around insert-buffer-substring.
(Info-isearch-search): Use LITERAL arg of replace-regexp-in-string.
(Info-escape-percent): Delete function.
(Info-fontify-node): Replace Info-escape-percent by
replace-regexp-in-string with REP arg set to lambda that
duplicates `%' and preserves text properties.
author | Juri Linkov <juri@jurta.org> |
---|---|
date | Mon, 22 Aug 2005 19:53:46 +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