]> git.eshelyaron.com Git - emacs.git/commitdiff
(texinfo-print-index): Print index line numbers in the new Texinfo 4.7 format.
authorJuri Linkov <juri@jurta.org>
Sun, 23 May 2004 20:55:28 +0000 (20:55 +0000)
committerJuri Linkov <juri@jurta.org>
Sun, 23 May 2004 20:55:28 +0000 (20:55 +0000)
lisp/textmodes/texinfmt.el

index 3e79d18a1089e3d266f8aa7b9112f01c8cae9e31..9a4d30bd904c6c342113282bbaeebef0d4012778 100644 (file)
@@ -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