From: Richard M. Stallman Date: Mon, 2 May 1994 19:40:19 +0000 (+0000) Subject: (Man-notify-when-ready): Don't call select-frame if no window system. X-Git-Tag: emacs-19.34~8573 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=69e610ac11874996d6b0034e26b185b5474850f2;p=emacs.git (Man-notify-when-ready): Don't call select-frame if no window system. --- diff --git a/lisp/man.el b/lisp/man.el index 7fd87f7996d..92ba6ffc538 100644 --- a/lisp/man.el +++ b/lisp/man.el @@ -489,16 +489,19 @@ See the variable `Man-notify' for the different notification behaviors." (set-buffer man-buffer) (new-frame Man-frame-parameters))) ((eq Man-notify 'bully) - (and (frame-live-p Man-original-frame) + (and window-system + (frame-live-p Man-original-frame) (select-frame Man-original-frame)) (pop-to-buffer man-buffer) (delete-other-windows)) ((eq Man-notify 'aggressive) - (and (frame-live-p Man-original-frame) + (and window-system + (frame-live-p Man-original-frame) (select-frame Man-original-frame)) (pop-to-buffer man-buffer)) ((eq Man-notify 'friendly) - (and (frame-live-p Man-original-frame) + (and window-system + (frame-live-p Man-original-frame) (select-frame Man-original-frame)) (display-buffer man-buffer 'not-this-window)) ((eq Man-notify 'polite)