X-Git-Url: https://code.delx.au/gnu-emacs/blobdiff_plain/82e2a1f054cc0306494d1194036af4c5d7301caf..bdda4855c635ecf4135e23321bdba023e9ae65c9:/lisp/help-macro.el diff --git a/lisp/help-macro.el b/lisp/help-macro.el index 7897234415..eb2f6249ce 100644 --- a/lisp/help-macro.el +++ b/lisp/help-macro.el @@ -1,9 +1,9 @@ ;;; help-macro.el --- makes command line help such as help-for-help -;; Copyright (C) 1993-1994, 2001-2012 Free Software Foundation, Inc. +;; Copyright (C) 1993-1994, 2001-2016 Free Software Foundation, Inc. ;; Author: Lynn Slater -;; Maintainer: FSF +;; Maintainer: emacs-devel@gnu.org ;; Created: Mon Oct 1 11:42:39 1990 ;; Adapted-By: ESR ;; Package: emacs @@ -136,9 +136,9 @@ and then returns." (setq config (current-window-configuration)) (pop-to-buffer " *Metahelp*" nil t) (and (fboundp 'make-frame) - (not (eq (window-frame (selected-window)) + (not (eq (window-frame) prev-frame)) - (setq new-frame (window-frame (selected-window)) + (setq new-frame (window-frame) config nil)) (setq buffer-read-only nil) (let ((inhibit-read-only t))