changeset 94261:3a2101ba338c

*** empty log message ***
author Juri Linkov <juri@jurta.org>
date Tue, 22 Apr 2008 20:31:34 +0000
parents 5be46d0e04dd
children 0a5264d5b86f
files lisp/ChangeLog
diffstat 1 files changed, 20 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/ChangeLog	Tue Apr 22 20:30:32 2008 +0000
+++ b/lisp/ChangeLog	Tue Apr 22 20:31:34 2008 +0000
@@ -1,3 +1,23 @@
+2008-04-22  Juri Linkov  <juri@jurta.org>
+
+	* isearch.el (isearch-success-function): New variable with default
+	to `isearch-success-function-default'.
+	(isearch-search): Call a function from `isearch-success-function'
+	instead of calling the hard-coded `isearch-range-invisible'.
+	(isearch-success-function-default): New function that calls
+	`isearch-range-invisible' and inverts its return value.
+
+	* info.el (Info-search): In two similar places that skip
+	undesired search matches move code to Info-search-success-function,
+	and call `isearch-success-function' instead.
+	(Info-search-success-function): New function copied from code
+	in Info-search.  Replace isearch-range-invisible with
+	text-property-not-all that checks for 'invisible and 'display
+	properties to skip partially invisible matches (whose display
+	properties were set by Info-fontify-node).
+	(Info-mode): Set buffer-local isearch-success-function
+	to Info-search-success-function.
+
 2008-04-22  Juri Linkov  <juri@jurta.org>
 
 	* minibuffer.el (internal-complete-buffer-except): New function.