changeset 68984:3399fee3fc7e

(Info-search): Skip `Local Variables' node.
author Juri Linkov <juri@jurta.org>
date Fri, 17 Feb 2006 21:55:10 +0000
parents 064f4da012f5
children 37872ee47619
files lisp/info.el
diffstat 1 files changed, 4 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/info.el	Fri Feb 17 21:54:35 2006 +0000
+++ b/lisp/info.el	Fri Feb 17 21:55:10 2006 +0000
@@ -1640,7 +1640,8 @@
 			    ;; Skip Tag Table node
 			    (save-excursion
 			      (and (search-backward "\^_" nil t)
-				   (looking-at "\^_\nTag Table"))))))
+				   (looking-at
+				    "\^_\n\\(Tag Table\\|Local Variables\\)"))))))
 	    (let ((search-spaces-regexp Info-search-whitespace-regexp))
 	      (if (if backward
 		      (re-search-backward regexp bound t)
@@ -1728,7 +1729,8 @@
 				  ;; Skip Tag Table node
 				  (save-excursion
 				    (and (search-backward "\^_" nil t)
-					 (looking-at "\^_\nTag Table"))))))
+					 (looking-at
+					  "\^_\n\\(Tag Table\\|Local Variables\\)"))))))
 		  (let ((search-spaces-regexp Info-search-whitespace-regexp))
 		    (if (if backward
 			    (re-search-backward regexp nil t)