Fix "N" interactive argument letter so that it converts the command
authorChris Hanson <org/chris-hanson/cph>
Wed, 25 Aug 1993 02:32:59 +0000 (02:32 +0000)
committerChris Hanson <org/chris-hanson/cph>
Wed, 25 Aug 1993 02:32:59 +0000 (02:32 +0000)
argument to a numeric value.

v7/src/edwin/comred.scm

index 63e15a562d107af65517d64723f535ffe3375607..2f7db36cc4f28031f6c0cf63ab112bcf5ad3683a 100644 (file)
@@ -1,6 +1,6 @@
 ;;; -*-Scheme-*-
 ;;;
-;;;    $Id: comred.scm,v 1.104 1993/08/19 22:43:36 cph Exp $
+;;;    $Id: comred.scm,v 1.105 1993/08/25 02:32:59 cph Exp $
 ;;;
 ;;;    Copyright (c) 1986, 1989-93 Massachusetts Institute of Technology
 ;;;
       ((#\n)
        (prompting (prompt-for-number prompt false)))
       ((#\N)
-       (prefix (or (command-argument) (prompt-for-number prompt false))))
+       (prefix
+       (or (command-argument-value (command-argument))
+           (prompt-for-number prompt false))))
       ((#\p)
        (prefix (or (command-argument-value (command-argument)) 1)))
       ((#\P)