diff options
author | Richard M. Stallman <rms@gnu.org> | 2006-04-18 21:18:27 +0000 |
---|---|---|
committer | Richard M. Stallman <rms@gnu.org> | 2006-04-18 21:18:27 +0000 |
commit | 7561ff7493cf693c78c823b2fd1e7d0cfd50c8e4 (patch) | |
tree | e4d82ebf5091ac0902dd16b68eff281b748f43a5 /lisp/help-mode.el | |
parent | 27bdc650c3f02f2d8669e367ef3c8683a5b630d3 (diff) | |
download | emacs-7561ff7493cf693c78c823b2fd1e7d0cfd50c8e4.tar.gz |
(help-mode): Set view-exit-action to delete window.
Diffstat (limited to 'lisp/help-mode.el')
-rw-r--r-- | lisp/help-mode.el | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lisp/help-mode.el b/lisp/help-mode.el index 94621535154..a5cdf1f4d72 100644 --- a/lisp/help-mode.el +++ b/lisp/help-mode.el @@ -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 |