diff lisp/prim/isearch-mode.el @ 44:8d2a9b52c682 r19-15prefinal

Import from CVS: tag r19-15prefinal
author cvs
date Mon, 13 Aug 2007 08:55:10 +0200
parents ec9a17fef872
children 131b0175ea99
line wrap: on
line diff
--- a/lisp/prim/isearch-mode.el	Mon Aug 13 08:54:52 2007 +0200
+++ b/lisp/prim/isearch-mode.el	Mon Aug 13 08:55:10 2007 +0200
@@ -384,7 +384,9 @@
 ;; good way to fix it, though.  -hniksic
 (defun isearch-mode-help ()
   (interactive "_")
-  (describe-function 'isearch-forward)
+  (let ((w (selected-window)))
+    (describe-function 'isearch-forward)
+    (select-window w))
   (isearch-update))