Mercurial > hg > octave-jordi
changeset 20943: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 +++ b/scripts/help/__makeinfo__.m @@ -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