Mercurial > emacs
view move-if-change @ 86312:7e2c67792bdd
For some reason, this new feature was not in etags for Emacs 22,
so add it for Emacs 23:
*** The --members option is now the default.
Use --no-members if you want the old default behaviour of not tagging
struct members in C, members variables in C++ and variables in PHP.
author | Francesco Potortì <pot@gnu.org> |
---|---|
date | Thu, 22 Nov 2007 10:38:23 +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