# HG changeset patch # User Karl Berry # Date 1043267723 0 # Node ID 1ab93adb0017a9f1ad4270426526d1386a9aeeb1 # Parent 2867da9cc2b0cf01b28e8a0231c8932d2be1dcdf (Info-index): change pattern so that index entries with colons can be read properly; also, require at least one space after the colons, which makeinfo puts in. From: Aubrey Jaffer , 7 Nov 2002 21:16:12 -0500, sent to bug-texinfo. diff -r 2867da9cc2b0 -r 1ab93adb0017 lisp/info.el --- a/lisp/info.el Wed Jan 22 19:57:26 2003 +0000 +++ b/lisp/info.el Wed Jan 22 20:35:23 2003 +0000 @@ -1,6 +1,7 @@ ;;; info.el --- info package for Emacs -;; Copyright (C) 1985, 86, 92, 93, 94, 95, 96, 97, 98, 99, 2000, 2001, 2002 +;; Copyright (C) 1985, 86, 92, 93, 94, 95, 96, 97, 98, 99, 2000, 2001, +;; 2002, 2003 ;; Free Software Foundation, Inc. ;; Maintainer: FSF @@ -1935,7 +1936,7 @@ (error "The Info directory node has no index; use m to select a manual")) (let ((orignode Info-current-node) (rnode nil) - (pattern (format "\n\\* +\\([^\n:]*%s[^\n:]*\\):[ \t]*\\([^.\n]*\\)\\.[ \t]*\\([0-9]*\\)" + (pattern (format "\n\\* +\\([^\n]*%s[^\n]*\\):[ \t]+\\([^.\n]*\\)\\.[ \t]*\\([0-9]*\\)" (regexp-quote topic))) node (case-fold-search t))