changeset 70095:bcef8f45667d

(help-mode): Set view-exit-action to delete window.
author Richard M. Stallman <rms@gnu.org>
date Tue, 18 Apr 2006 21:18:27 +0000
parents d893c3bf4c3b
children 2820ef0bf77c
files lisp/help-mode.el
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/help-mode.el	Tue Apr 18 21:17:50 2006 +0000
+++ b/lisp/help-mode.el	Tue Apr 18 21:18:27 2006 +0000
@@ -197,6 +197,7 @@
   (view-mode)
   (make-local-variable 'view-no-disable-on-exit)
   (setq view-no-disable-on-exit t)
+  (setq view-exit-action (lambda (buffer) (delete-window)))
   (run-mode-hooks 'help-mode-hook))
 
 ;;;###autoload