diff --git a/code/format.lisp b/code/format.lisp index 34d546f1c5dce6ae0a52a5d78a293083bc2cf0ea..9ad30be7b5b14744b1ae35fa8a14a9e70ebdcd7c 100644 --- a/code/format.lisp +++ b/code/format.lisp @@ -5,7 +5,7 @@ ;;; Carnegie Mellon University, and has been placed in the public domain. ;;; (ext:file-comment - "$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/code/format.lisp,v 1.45 2002/10/15 15:50:24 toy Exp $") + "$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/code/format.lisp,v 1.46 2002/10/25 14:36:20 toy Exp $") ;;; ;;; ********************************************************************** ;;; @@ -2093,7 +2093,9 @@ close params string end) (expand-format-logical-block prefix per-line-p insides suffix atsignp)) - (let ((count (apply #'+ (mapcar (lambda (x) (count-if #'illegal-inside-justification-p x)) segments)))) + (let ((count (reduce #'+ (mapcar (lambda (x) + (count-if #'illegal-inside-justification-p x)) + segments)))) (when (> count 0) ;; ANSI specifies that "an error is signalled" in this ;; situation.