X-Git-Url: https://code.delx.au/gnu-emacs/blobdiff_plain/539a920cda27cad65e298535ec082aa52e86daa2..724bc2658767f0e2c11b3fbe9ec72490ef30cbb2:/lisp/progmodes/ebrowse.el diff --git a/lisp/progmodes/ebrowse.el b/lisp/progmodes/ebrowse.el index 6a71ab330a..865211d109 100644 --- a/lisp/progmodes/ebrowse.el +++ b/lisp/progmodes/ebrowse.el @@ -1605,7 +1605,7 @@ specifies where to find/view the result." ;; Get the source file to view or find. (setf file (ebrowse-find-source-file file tags-file)) ;; If current window is dedicated, use another frame. - (when (window-dedicated-p (selected-window)) + (when (window-dedicated-p) (setf where 'other-window)) (cond (view (setf ebrowse-temp-position-to-view struc