]> git.eshelyaron.com Git - emacs.git/commitdiff
(Man-notify-when-ready): Don't call select-frame if no window system.
authorRichard M. Stallman <rms@gnu.org>
Mon, 2 May 1994 19:40:19 +0000 (19:40 +0000)
committerRichard M. Stallman <rms@gnu.org>
Mon, 2 May 1994 19:40:19 +0000 (19:40 +0000)
lisp/man.el

index 7fd87f7996de9544969604ec395a891e7279a835..92ba6ffc53882ccd1db6ee8d97f0773742a36b6d 100644 (file)
@@ -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)