Mercurial > hg > xemacs-beta
diff lisp/prim/files.el @ 181:bfd6434d15b3 r20-3b17
Import from CVS: tag r20-3b17
author | cvs |
---|---|
date | Mon, 13 Aug 2007 09:53:19 +0200 |
parents | 9ad43877534d |
children | 3d6bfa290dbd |
line wrap: on
line diff
--- a/lisp/prim/files.el Mon Aug 13 09:52:21 2007 +0200 +++ b/lisp/prim/files.el Mon Aug 13 09:53:19 2007 +0200 @@ -3024,8 +3024,14 @@ val) (setq active t)) (setq processes (cdr processes))) - (or (not active) - (yes-or-no-p "Active processes exist; kill them and exit anyway? ")))) + (or + (not active) + (save-excursion + (save-window-excursion + (delete-other-windows) + (list-processes) + (yes-or-no-p + "Active processes exist; kill them and exit anyway? ")))))) ;; Query the user for other things, perhaps. (run-hook-with-args-until-failure 'kill-emacs-query-functions) (kill-emacs)))