Mercurial > emacs
view move-if-change @ 49988:2076fa933620
* startup.el: Streamline code in several functions and use a more
consistent idiom within the file, for ease of reading and
maintenance. Rephrase booleans to avoid `(not noninteractive)'.
Clarify several booleans expressions using De Morgan's laws.
(command-line): Fix barf when first command-line option handled by
`command-line-1' is in the form --OPT=VAL.
(command-line-1): Restore intended behavior of the --directory/-L
command-line option: "-L a -L b -L c" on the command-line now puts
'(a b c) at the front of `load-path'.
author | Matthew Swift <swift@alum.mit.edu> |
---|---|
date | Wed, 26 Feb 2003 10:59:58 +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