changeset 24764:36ca11f78553 stable

Document second calling form of disp(). * pr-output.cc (Fdisp): Document second calling form where string is returned.
author Rik <rik@octave.org>
date Thu, 15 Feb 2018 11:41:56 -0800
parents 10e8dc9d453c
children 7b8a3f503575 956e28867c80
files libinterp/corefcn/pr-output.cc
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libinterp/corefcn/pr-output.cc	Wed Feb 07 09:23:43 2018 +0100
+++ b/libinterp/corefcn/pr-output.cc	Thu Feb 15 11:41:56 2018 -0800
@@ -3484,7 +3484,8 @@
 
 DEFUN (disp, args, nargout,
        doc: /* -*- texinfo -*-
-@deftypefn {} {} disp (@var{x})
+@deftypefn  {} {} disp (@var{x})
+@deftypefnx {} {@var{str} =} disp (@var{x})
 Display the value of @var{x}.
 
 For example: