diff lisp/prim/isearch-mode.el @ 116:9f59509498e1 r20-1b10

Import from CVS: tag r20-1b10
author cvs
date Mon, 13 Aug 2007 09:23:06 +0200
parents 360340f9fd5f
children cca96a509cfe
line wrap: on
line diff
--- a/lisp/prim/isearch-mode.el	Mon Aug 13 09:21:56 2007 +0200
+++ b/lisp/prim/isearch-mode.el	Mon Aug 13 09:23:06 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))