diff scripts/help/__makeinfo__.m @ 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 516bb87ea72e
children 85dfb551e4cd
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