changeset 20896:5e16d687a701

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 7697a3433e37
children 9aad16a799c9
files scripts/help/__makeinfo__.m
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/scripts/help/__makeinfo__.m	Mon Dec 14 14:22:57 2015 -0800
+++ b/scripts/help/__makeinfo__.m	Mon Dec 14 14:34:57 2015 -0800
@@ -146,11 +146,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