Mercurial > emacs
changeset 22368:c3a15ab5924f
(Man-kill, Man-quit): Use quit-window.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Fri, 05 Jun 1998 22:54:28 +0000 |
parents | 5485d428a9c3 |
children | 6c4756ecd4a2 |
files | lisp/man.el |
diffstat | 1 files changed, 2 insertions(+), 16 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/man.el Fri Jun 05 22:27:42 1998 +0000 +++ b/lisp/man.el Fri Jun 05 22:54:28 1998 +0000 @@ -1067,26 +1067,12 @@ (defun Man-kill () "Kill the buffer containing the manpage." (interactive) - (let ((buff (current-buffer))) - (delete-windows-on buff) - (kill-buffer buff)) - (if (and window-system - (or (eq Man-notify-method 'newframe) - (and pop-up-frames - (eq Man-notify-method 'bully)))) - (delete-frame))) + (quit-window t)) (defun Man-quit () "Bury the buffer containing the manpage." (interactive) - (let ((buff (current-buffer))) - (delete-windows-on buff) - (bury-buffer buff)) - (if (and window-system - (or (eq Man-notify-method 'newframe) - (and pop-up-frames - (eq Man-notify-method 'bully)))) - (delete-frame))) + (quit-window)) (defun Man-goto-page (page) "Go to the manual page on page PAGE."