Mercurial > octave
changeset 20944:a7ebc9815d71 stable
doc: Start help text with " -- ", not " -- : ".
* __makeinfo__.m: Use regexprep to replace " -- : " generated by Texinfo with
" -- ".
author | Rik <rik@octave.org> |
---|---|
date | Mon, 14 Dec 2015 14:34:57 -0800 |
parents | 9fe6db1dcc46 |
children | 6ed7bae8017b |
files | scripts/help/__makeinfo__.m |
diffstat | 1 files changed, 4 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/scripts/help/__makeinfo__.m Tue Dec 15 10:15:20 2015 -0500 +++ b/scripts/help/__makeinfo__.m Mon Dec 14 14:34:57 2015 -0800 @@ -148,11 +148,15 @@ endif endif + ## Clean up start of @deftypefn expansion which includes extra ':' + retval = regexprep (retval, '^ -- : +', ' -- ', "lineanchors"); + unwind_protect_cleanup if (exist (name, "file")) delete (name); endif end_unwind_protect + endfunction