]> code.delx.au - gnu-emacs/blobdiff - lib-src/rcs-checkin
* startup.el (command-line): Call menu-bar-mode with 1 instead of t.
[gnu-emacs] / lib-src / rcs-checkin
index 41b10d24412ee39fb08bd89972d3508d5624e071..75616c3564e93dac11ef65685a37ee14a6e39035 100755 (executable)
@@ -2,7 +2,7 @@
 
 # This script accepts any number of file arguments and checks them into RCS.
 
-# Copyright (C) 1993, 1994, 1995,2001 Free Software Foundation, Inc.
+# Copyright (C) 1993, 1994, 1995, 2001, 2002 Free Software Foundation, Inc.
 #
 # This file is part of GNU Emacs.
 #
@@ -31,7 +31,7 @@
 # is not deleted, as under VC with vc-keep-workfiles at its default of t, but
 # all the version files are.
 #
-# If an argument file is already version-controlled under RCS, any version 
+# If an argument file is already version-controlled under RCS, any version
 # files are added to the list of deltas and deleted, and then the workfile
 # is checked in again as the latest version.  This is probably not quite
 # what was wanted, and is the main reason VC doesn't simply call this to
@@ -73,7 +73,7 @@ do
        # Get list of old files.
        oldfiles=`
                ls $file.~[0-9]*~ 2>/dev/null |
-               sort -t~ -n +1
+               sort -t~ -n -k 2
        `
 
        # Check that they are properly sorted by date.