From: Juri Linkov Date: Sun, 23 May 2004 20:55:28 +0000 (+0000) Subject: (texinfo-print-index): Print index line numbers in the new Texinfo 4.7 format. X-Git-Tag: ttn-vms-21-2-B4~6082 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=28633019fcb9b74377528acf9af6bcf4f7fbd443;p=emacs.git (texinfo-print-index): Print index line numbers in the new Texinfo 4.7 format. --- diff --git a/lisp/textmodes/texinfmt.el b/lisp/textmodes/texinfmt.el index 3e79d18a108..9a4d30bd904 100644 --- a/lisp/textmodes/texinfmt.el +++ b/lisp/textmodes/texinfmt.el @@ -3032,7 +3032,7 @@ Default is to leave paragraph indentation as is." (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