summaryrefslogtreecommitdiff
path: root/lisp/info.el
diff options
context:
space:
mode:
authorThien-Thi Nguyen <ttn@gnuvola.org>2004-09-08 10:28:17 +0000
committerThien-Thi Nguyen <ttn@gnuvola.org>2004-09-08 10:28:17 +0000
commit9f9823b24d52e60b107baa9162b20bfd9b0964dc (patch)
treeff80d53f745167740cb8e05def26442335bcae93 /lisp/info.el
parentf010871f66eb8c4720aeefa64363647523276d83 (diff)
downloademacs-9f9823b24d52e60b107baa9162b20bfd9b0964dc.tar.gz
(Info-insert-dir): Fix temp buffer leak bug.
Diffstat (limited to 'lisp/info.el')
-rw-r--r--lisp/info.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/info.el b/lisp/info.el
index 802fcf1642e..b779bb41ca6 100644
--- a/lisp/info.el
+++ b/lisp/info.el
@@ -1062,8 +1062,8 @@ a case-insensitive match is tried."
;; into the menu in the like-named node in the main buffer.
(apply 'insert-buffer-substring (cdr node))))
(Info-dir-remove-duplicates)
- ;; Kill all the buffers we just made.
- (mapc 'kill-buffer buffers)
+ ;; Kill all the buffers we just made, including the special one excised.
+ (mapc 'kill-buffer (cons buffer buffers))
(goto-char (point-min))
(if problems
(message "Composing main Info directory...problems encountered, see `*Messages*'")