aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/info.el
diff options
context:
space:
mode:
authorRichard M. Stallman <[email protected]>1997-05-27 05:02:45 +0000
committerRichard M. Stallman <[email protected]>1997-05-27 05:02:45 +0000
commitffc437583cf2c0094f4ea7ec85cee031804abc2b (patch)
tree6d340990d85289f9d9820f13949f6eb269b68a33 /lisp/info.el
parent413650839b152ae4b08f888e92de7ba407113e76 (diff)
(Info-exit): Use bury-buffer simply.
Diffstat (limited to 'lisp/info.el')
-rw-r--r--lisp/info.el3
1 files changed, 1 insertions, 2 deletions
diff --git a/lisp/info.el b/lisp/info.el
index 0ff0741c35..ec21f5b9ff 100644
--- a/lisp/info.el
+++ b/lisp/info.el
@@ -1213,8 +1213,7 @@ N is the digit argument used to invoke this command."
(interactive)
(if Info-standalone
(save-buffers-kill-emacs)
- (switch-to-buffer (prog1 (other-buffer (current-buffer))
- (bury-buffer (current-buffer))))))
+ (bury-buffer)))
(defun Info-next-menu-item ()
(interactive)