HCoop
/
bpt
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5c05f56
)
(tar-extract): Use view-exit-action to kill viewed buf.
author
Richard M. Stallman
<rms@gnu.org>
Sat, 17 Jul 1993 19:10:13 +0000
(19:10 +0000)
committer
Richard M. Stallman
<rms@gnu.org>
Sat, 17 Jul 1993 19:10:13 +0000
(19:10 +0000)
lisp/tar-mode.el
patch
|
blob
|
blame
|
history
diff --git
a/lisp/tar-mode.el
b/lisp/tar-mode.el
index
76259bb
..
31bbde0
100644
(file)
--- a/
lisp/tar-mode.el
+++ b/
lisp/tar-mode.el
@@
-624,10
+624,11
@@
directory listing."
(if view-p
(progn
(view-buffer buffer)
- (and just-created (kill-buffer buffer)))
- (if other-window-p
- (switch-to-buffer-other-window buffer)
- (switch-to-buffer buffer))))))
+ (and just-created
+ (setq view-exit-action 'kill-buffer)))
+ (if other-window-p
+ (switch-to-buffer-other-window buffer)
+ (switch-to-buffer buffer))))))
(defun tar-extract-other-window ()