changeset 7280:120470ed3960

(Man-notify-when-ready): Don't call select-frame if no window system.
author Richard M. Stallman <rms@gnu.org>
date Mon, 02 May 1994 19:40:19 +0000
parents 89ed0051e237
children d14d537ce03c
files lisp/man.el
diffstat 1 files changed, 6 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/man.el	Mon May 02 18:27:24 1994 +0000
+++ b/lisp/man.el	Mon May 02 19:40:19 1994 +0000
@@ -489,16 +489,19 @@
       (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)