changeset 8761:1db8033efa17

fix which message for built-in functions
author Jaroslav Hajek <highegg@gmail.com>
date Mon, 16 Feb 2009 15:12:00 +0100
parents b0356f30a33b
children 2476ce55d4b5
files scripts/ChangeLog scripts/help/which.m
diffstat 2 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/scripts/ChangeLog	Mon Feb 16 15:05:24 2009 +0100
+++ b/scripts/ChangeLog	Mon Feb 16 15:12:00 2009 +0100
@@ -1,6 +1,7 @@
 2009-02-16  Jaroslav Hajek  <highegg@gmail.com>
 
 	* linear-algebra/expm.m: Fix invalid unscaling.
+	* help/which.m: Do not add "function" here.
 
 2009-02-16  John W. Eaton  <jwe@octave.org>
 
--- a/scripts/help/which.m	Mon Feb 16 15:05:24 2009 +0100
+++ b/scripts/help/which.m	Mon Feb 16 15:12:00 2009 +0100
@@ -30,7 +30,7 @@
       for i = 1:nargin
 	if (isempty (m(i).file))
 	  if (! isempty (m(i).type))
-	    printf ("`%s' is a %s function\n",
+	    printf ("`%s' is a %s\n",
 		    m(i).name, m(i).type);
 	  endif
 	else