changeset 55752:a7f7c0fa52a6

(texinfo-print-index): Print index line numbers in the new Texinfo 4.7 format.
author Juri Linkov <juri@jurta.org>
date Sun, 23 May 2004 20:55:28 +0000
parents 450a4292b3b7
children a1d8c94b66c0
files lisp/textmodes/texinfmt.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/textmodes/texinfmt.el	Sun May 23 20:53:42 2004 +0000
+++ b/lisp/textmodes/texinfmt.el	Sun May 23 20:55:28 2004 +0000
@@ -3032,7 +3032,7 @@
           (indent-to 54)
           (insert
            (if (nth 2 (car indexelts))
-               (format "  %d." (nth 2 (car indexelts)))
+               (format "  (line %3d)" (1+ (nth 2 (car indexelts))))
              "")
            "\n"))
       ;; index entries from @include'd file