]> git.eshelyaron.com Git - emacs.git/commitdiff
(Man-notify-when-ready) <newframe>:
authorRichard M. Stallman <rms@gnu.org>
Thu, 16 Apr 1998 06:25:11 +0000 (06:25 +0000)
committerRichard M. Stallman <rms@gnu.org>
Thu, 16 Apr 1998 06:25:11 +0000 (06:25 +0000)
Mark frame's window as dedicated.

lisp/man.el

index 9bcdd8f8f0e5c4ac9291a421f5c307665dfd78b2..8e0fbf8d68005b5f2d09b0604c8864e01a988204 100644 (file)
@@ -620,8 +620,9 @@ See the variable `Man-notify-method' for the different notification behaviors."
       ;; can't rely on the editor command loop to reselect the
       ;; selected window's buffer.
       (save-excursion
-       (set-buffer man-buffer)
-       (make-frame Man-frame-parameters)))
+       (let ((frame (make-frame Man-frame-parameters)))
+         (set-window-buffer (frame-selected-window frame) man-buffer)
+          (set-window-dedicated-p (frame-selected-window frame) t))))
      ((eq Man-notify-method 'pushy)
       (switch-to-buffer man-buffer))
      ((eq Man-notify-method 'bully)