diff scripts/deprecated/clearplot.m @ 11744:eb0a86b3deb9 release-3-0-x

don't embed newline in warning messages in deprecated functions
author John W. Eaton <jwe@octave.org>
date Wed, 09 Apr 2008 12:57:36 -0400
parents 72830070a17b
children
line wrap: on
line diff
--- a/scripts/deprecated/clearplot.m
+++ b/scripts/deprecated/clearplot.m
@@ -31,8 +31,7 @@
   if (! warned)
     warned = true;
     warning ("Octave:deprecated-function",
-        ["function clearplot () is obsolete and will be removed from a future\n",
-	       "version of Octave, please use clf instead"]);
+             "clearplot is obsolete and will be removed from a future version of Octave; please use clf instead");
   endif
 
   clf ();