From: Gerd Moellmann Date: Thu, 7 Mar 2002 11:36:44 +0000 (+0000) Subject: (ebrowse-view/find-file-and-search-pattern): X-Git-Tag: emacs-21.2~31 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=934add430e73c86f03c03e0d46f433cde445bd70;p=emacs.git (ebrowse-view/find-file-and-search-pattern): Use the other-window instead of the other-frame functions when the window is dedicated. --- diff --git a/lisp/progmodes/ebrowse.el b/lisp/progmodes/ebrowse.el index de1f3d807a4..e04726e0014 100644 --- a/lisp/progmodes/ebrowse.el +++ b/lisp/progmodes/ebrowse.el @@ -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 ;; 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)