diff options
author | Gerd Moellmann <gerd@gnu.org> | 2002-03-07 11:36:44 +0000 |
---|---|---|
committer | Gerd Moellmann <gerd@gnu.org> | 2002-03-07 11:36:44 +0000 |
commit | 934add430e73c86f03c03e0d46f433cde445bd70 (patch) | |
tree | 5172a052c127412f363559bdf1e25ebd87d54d85 | |
parent | 1b1c8720c4248103e1867e4d39d655f30a9073da (diff) | |
download | emacs-934add430e73c86f03c03e0d46f433cde445bd70.tar.gz |
(ebrowse-view/find-file-and-search-pattern):
Use the other-window instead of the other-frame functions when
the window is dedicated.
-rw-r--r-- | lisp/progmodes/ebrowse.el | 5 |
1 files changed, 3 insertions, 2 deletions
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 <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) |