Mercurial > emacs
changeset 56991:53c840d7ea68
(Info-insert-dir): Fix temp buffer leak bug.
author | Thien-Thi Nguyen <ttn@gnuvola.org> |
---|---|
date | Wed, 08 Sep 2004 10:28:17 +0000 |
parents | 8785d3b0ec48 |
children | 26bc9ff68ca2 |
files | lisp/info.el |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/info.el Wed Sep 08 10:20:00 2004 +0000 +++ b/lisp/info.el Wed Sep 08 10:28:17 2004 +0000 @@ -1062,8 +1062,8 @@ ;; 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*'")