[cmucl-commit] CMUCL commit: src/pcl (cmucl-documentation.lisp)

Raymond Toy rtoy at common-lisp.net
Tue Jul 12 19:19:50 CEST 2011


    Date: Tuesday, July 12, 2011 @ 10:19:50
  Author: rtoy
    Path: /project/cmucl/cvsroot/src/pcl

Modified: cmucl-documentation.lisp

Don't call dgettext with a NIL doc.


--------------------------+
 cmucl-documentation.lisp |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)


Index: src/pcl/cmucl-documentation.lisp
diff -u src/pcl/cmucl-documentation.lisp:1.18 src/pcl/cmucl-documentation.lisp:1.19
--- src/pcl/cmucl-documentation.lisp:1.18	Tue Dec 14 13:22:27 2010
+++ src/pcl/cmucl-documentation.lisp	Tue Jul 12 10:19:50 2011
@@ -4,7 +4,7 @@
 ;;; the public domain, and is provided 'as is'.
 
 (file-comment
-  "$Header: /project/cmucl/cvsroot/src/pcl/cmucl-documentation.lisp,v 1.18 2010/12/14 21:22:27 rtoy Exp $")
+  "$Header: /project/cmucl/cvsroot/src/pcl/cmucl-documentation.lisp,v 1.19 2011/07/12 17:19:50 rtoy Exp $")
 ;;;
 ;;; **********************************************************************
 ;;;
@@ -237,7 +237,7 @@
 		       (values (info typed-structure textdomain x)))
 		      (t
 		       nil))))
-    (or (intl:dgettext domain doc)
+    (or (and doc (intl:dgettext domain doc))
 	doc)))
 
   


More information about the cmucl-commit mailing list