diff options
| author | Richard M. Stallman | 1997-06-17 22:02:01 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1997-06-17 22:02:01 +0000 |
| commit | 7a26bfc6610132f81f5871c316f943f8088d71ff (patch) | |
| tree | c7d992513243c5a110fad880d17a3ff4a27e8f35 /lisp | |
| parent | 48879301fd4da29735840b0668329a5a72ae9a16 (diff) | |
| download | emacs-7a26bfc6610132f81f5871c316f943f8088d71ff.tar.gz emacs-7a26bfc6610132f81f5871c316f943f8088d71ff.zip | |
(archive-extract): Use second argument of
view-buffer instead of setting view-exit-action.
Diffstat (limited to 'lisp')
| -rw-r--r-- | lisp/arc-mode.el | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/lisp/arc-mode.el b/lisp/arc-mode.el index ea42ecbcb0a..2fcb7c602e6 100644 --- a/lisp/arc-mode.el +++ b/lisp/arc-mode.el | |||
| @@ -752,9 +752,7 @@ This function changes the set of information shown for each files." | |||
| 752 | (run-hooks 'archive-extract-hooks)) | 752 | (run-hooks 'archive-extract-hooks)) |
| 753 | (archive-maybe-update t)) | 753 | (archive-maybe-update t)) |
| 754 | (if view-p | 754 | (if view-p |
| 755 | (progn | 755 | (view-buffer buffer (and just-created 'kill-buffer)) |
| 756 | (view-buffer buffer) | ||
| 757 | (and just-created (setq view-exit-action 'kill-buffer))) | ||
| 758 | (if (eq other-window-p 'display) | 756 | (if (eq other-window-p 'display) |
| 759 | (display-buffer buffer) | 757 | (display-buffer buffer) |
| 760 | (if other-window-p | 758 | (if other-window-p |