]> git.eshelyaron.com Git - emacs.git/commitdiff
(ebrowse-view/find-file-and-search-pattern):
authorGerd Moellmann <gerd@gnu.org>
Thu, 7 Mar 2002 11:36:44 +0000 (11:36 +0000)
committerGerd Moellmann <gerd@gnu.org>
Thu, 7 Mar 2002 11:36:44 +0000 (11:36 +0000)
Use the other-window instead of the other-frame functions when
the window is dedicated.

lisp/progmodes/ebrowse.el

index de1f3d807a4db247466cb4c2d0899a6315485c9b..e04726e0014f27e48dcb69591dbd6b997d6fe044 100644 (file)
@@ -1,6 +1,7 @@
 ;;; ebrowse.el --- Emacs C++ class browser & tags facility
 
-;; Copyright (C) 1992, 93, 94, 95, 96, 97, 98, 99, 2000 Free Software Foundation Inc.
+;; Copyright (C) 1992, 93, 94, 95, 96, 97, 98, 99, 2000, 2001, 2002
+;;  Free Software Foundation Inc.
 
 ;; Author: Gerd Moellmann <gerd@gnu.org>
 ;; Maintainer: FSF
@@ -1675,7 +1676,7 @@ specifies where to find/view the result."
   (setf file (ebrowse-find-source-file file tags-file-name))
   ;; If current window is dedicated, use another frame.
   (when (window-dedicated-p (selected-window))
-    (setf where 'other-frame))
+    (setf where 'other-window))
   (cond (view
         (setf ebrowse-temp-position-to-view struc
               ebrowse-temp-info-to-view info)