diff doc/interpreter/func.txi @ 11547:e1851653d59c

Eliminate @deffn macros. For consistency and easier maintenance, only use @deftypefn macro.
author Rik <octave@nomad.inbox5.com>
date Sat, 15 Jan 2011 10:04:30 -0800
parents fd0a3ac60b0e
children 6f8ffe2c6f76
line wrap: on
line diff
--- a/doc/interpreter/func.txi
+++ b/doc/interpreter/func.txi
@@ -540,12 +540,12 @@
 without adding extra logic to avoid printing the message if the vector
 does contain a nonzero element.
 
-@deffn {Keyword} return
+@deftypefn {Keyword} {} return
 When Octave encounters the keyword @code{return} inside a function or
 script, it returns control to the caller immediately.  At the top level,
 the return statement is ignored.  A @code{return} statement is assumed
 at the end of every function definition.
-@end deffn
+@end deftypefn
 
 @node Default Arguments
 @section Default Arguments