Commit 7561ff74 authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

(help-mode): Set view-exit-action to delete window.

parent 27bdc650
...@@ -197,6 +197,7 @@ Commands: ...@@ -197,6 +197,7 @@ Commands:
(view-mode) (view-mode)
(make-local-variable 'view-no-disable-on-exit) (make-local-variable 'view-no-disable-on-exit)
(setq view-no-disable-on-exit t) (setq view-no-disable-on-exit t)
(setq view-exit-action (lambda (buffer) (delete-window)))
(run-mode-hooks 'help-mode-hook)) (run-mode-hooks 'help-mode-hook))
;;;###autoload ;;;###autoload
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment