changeset 107200:e8c35d7a4eac

Revert isearch.el change due to feature freeze. * isearch.el (isearch-update-post-hook, isearch-update): Revert 2010-02-17 change.
author Chong Yidong <cyd@stupidchicken.com>
date Fri, 19 Feb 2010 16:36:29 -0500
parents 8ce4f8460ed4
children 79d3f11c8368
files lisp/ChangeLog lisp/isearch.el
diffstat 2 files changed, 6 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/ChangeLog	Fri Feb 19 19:59:00 2010 +0100
+++ b/lisp/ChangeLog	Fri Feb 19 16:36:29 2010 -0500
@@ -1,3 +1,8 @@
+2010-02-19  Chong Yidong  <cyd@stupidchicken.com>
+
+	* isearch.el (isearch-update-post-hook, isearch-update): Revert
+	2010-02-17 change.
+
 2010-02-19  Ulf Jasper  <ulf.jasper@web.de>
 
 	* calendar/icalendar.el (icalendar--convert-ordinary-to-ical)
--- a/lisp/isearch.el	Fri Feb 19 19:59:00 2010 +0100
+++ b/lisp/isearch.el	Fri Feb 19 16:36:29 2010 -0500
@@ -156,9 +156,6 @@
 (defvar isearch-mode-hook nil
   "Function(s) to call after starting up an incremental search.")
 
-(defvar isearch-update-post-hook nil
-  "Function(s) to call after isearch has found matches in the buffer.")
-
 (defvar isearch-mode-end-hook nil
   "Function(s) to call after terminating an incremental search.
 When these functions are called, `isearch-mode-end-hook-quit'
@@ -871,8 +868,7 @@
     (isearch-lazy-highlight-new-loop))
   ;; We must prevent the point moving to the end of composition when a
   ;; part of the composition has just been searched.
-  (setq disable-point-adjustment t)
-  (run-hooks 'isearch-update-post-hook))
+  (setq disable-point-adjustment t))
 
 (defun isearch-done (&optional nopush edit)
   "Exit Isearch mode.