summaryrefslogtreecommitdiff
path: root/lisp/help-macro.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/help-macro.el')
-rw-r--r--lisp/help-macro.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/help-macro.el b/lisp/help-macro.el
index 566f1597596..f0fda357705 100644
--- a/lisp/help-macro.el
+++ b/lisp/help-macro.el
@@ -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))