summaryrefslogtreecommitdiff
path: root/deb-view.el
diff options
context:
space:
mode:
Diffstat (limited to 'deb-view.el')
-rw-r--r--deb-view.el4
1 files changed, 3 insertions, 1 deletions
diff --git a/deb-view.el b/deb-view.el
index 2cd2830..10ad339 100644
--- a/deb-view.el
+++ b/deb-view.el
@@ -641,7 +641,9 @@ If the file is from the INFO buffer, then open in the other (larger) window."
("\\.Z$" . deb-view-tar-uncompress-while-visiting)
) auto-mode-alist)))
(if (string-match "INFO$" buffer-file-name)
- (tar-extract-other-window)
+ (progn
+ (tar-extract-other-window)
+ (view-buffer (current-buffer) 'kill-buffer-if-not-modified))
(tar-extract 'view))))
(defun deb-view-tar-w3 ()