Mercurial > hg > octave-nkf
diff src/variables.cc @ 12692:e7b03b8662a2 stable
doc: Update docstrings for a few functions
* error.cc (lasterr, lasterror): Update lasterr with additional calling forms,
rewrite lasterror docstring
* variables.cc (munlock, mislocked): Add additional calling forms to docstring.
author | Rik <octave@nomad.inbox5.com> |
---|---|
date | Wed, 25 May 2011 21:07:00 -0700 |
parents | f96b9b9f141b |
children | da6cbb752368 |
line wrap: on
line diff
--- a/src/variables.cc +++ b/src/variables.cc @@ -1955,8 +1955,9 @@ DEFUN (munlock, args, , "-*- texinfo -*-\n\ -@deftypefn {Built-in Function} {} munlock (@var{fcn})\n\ -Unlock the named function. If no function is named\n\ +@deftypefn {Built-in Function} {} munlock ()\n\ +@deftypefnx {Built-in Function} {} munlock (@var{fcn})\n\ +Unlock the named function @var{fcn}. If no function is named\n\ then unlock the current function.\n\ @seealso{mlock, mislocked, persistent}\n\ @end deftypefn") @@ -1990,9 +1991,10 @@ DEFUN (mislocked, args, , "-*- texinfo -*-\n\ -@deftypefn {Built-in Function} {} mislocked (@var{fcn})\n\ -Return true if the named function is locked. If no function is named\n\ -then return true if the current function is locked.\n\ +@deftypefn {Built-in Function} {} mislocked ()\n\ +@deftypefnx {Built-in Function} {} mislocked (@var{fcn})\n\ +Return true if the named function @var{fcn} is locked. If no function is\n\ +named then return true if the current function is locked.\n\ @seealso{mlock, munlock, persistent}\n\ @end deftypefn") {