Mercurial > emacs
view move-if-change @ 70879:238e43ed886e
startup.el (command-line): For names of preloaded files, don't append
".elc" (now done in Fload), and call file-truename on the lisp directory.
subr.el (eval-after-load): Fix the doc-string. Allow FILE to match ANY
loaded file with the right name, not just those in load-path. Put a
regexp matching the file name into after-load-alist, rather than the name
itself.
subr.el: New functions load-history-regexp,
load-history-filename-element, do-after-load-evaluation.
international/mule.el (load-with-code-conversion): Do the eval-after-load
stuff by calling do-after-load-evaluation.
author | Alan Mackenzie <acm@muc.de> |
---|---|
date | Wed, 24 May 2006 13:22:12 +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