Mercurial > emacs
changeset 18287:f55270c78210
(tar-extract): Use second argument of
view-buffer instead of setting view-exit-action.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Tue, 17 Jun 1997 22:04:57 +0000 |
parents | e526918bbae8 |
children | 1e31ff4722f7 |
files | lisp/tar-mode.el |
diffstat | 1 files changed, 1 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/tar-mode.el Tue Jun 17 22:02:01 1997 +0000 +++ b/lisp/tar-mode.el Tue Jun 17 22:04:57 1997 +0000 @@ -747,11 +747,7 @@ (set-buffer tar-buffer)) (narrow-to-region 1 tar-header-offset))) (if view-p - (progn - (view-buffer buffer) - (and just-created - ;; This will be created by view.el - (setq view-exit-action 'kill-buffer))) + (view-buffer buffer (and just-created 'kill-buffer)) (if (eq other-window-p 'display) (display-buffer buffer) (if other-window-p