]> git.eshelyaron.com Git - emacs.git/commitdiff
(help-mode): Set view-exit-action to delete window.
authorRichard M. Stallman <rms@gnu.org>
Tue, 18 Apr 2006 21:18:27 +0000 (21:18 +0000)
committerRichard M. Stallman <rms@gnu.org>
Tue, 18 Apr 2006 21:18:27 +0000 (21:18 +0000)
lisp/help-mode.el

index 9462153515445023d6c37f97c44ef7ac9d0dc3cb..a5cdf1f4d720e37cf26903c352de7cef3f599bb8 100644 (file)
@@ -197,6 +197,7 @@ Commands:
   (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