Mercurial > emacs
changeset 21581:3aad7ffd0cd3
(Man-notify-when-ready) <newframe>:
Mark frame's window as dedicated.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Thu, 16 Apr 1998 06:25:11 +0000 |
parents | 061d5d4f7967 |
children | 4c2b38ea02fe |
files | lisp/man.el |
diffstat | 1 files changed, 3 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/man.el Thu Apr 16 06:21:56 1998 +0000 +++ b/lisp/man.el Thu Apr 16 06:25:11 1998 +0000 @@ -620,8 +620,9 @@ ;; 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)