diff options
| author | Thien-Thi Nguyen | 2004-09-08 10:28:17 +0000 |
|---|---|---|
| committer | Thien-Thi Nguyen | 2004-09-08 10:28:17 +0000 |
| commit | dc9bec220d9fe9efadcff061685d4774685ab5c1 (patch) | |
| tree | 7f5d7212c7d70248e138cc689fdd79a69b8cd23c | |
| parent | 2fdc1ceebf3e15df35607382d3f21c5936d844a3 (diff) | |
| download | emacs-dc9bec220d9fe9efadcff061685d4774685ab5c1.tar.gz emacs-dc9bec220d9fe9efadcff061685d4774685ab5c1.zip | |
(Info-insert-dir): Fix temp buffer leak bug.
| -rw-r--r-- | lisp/info.el | 4 |
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." | |||
| 1062 | ;; into the menu in the like-named node in the main buffer. | 1062 | ;; into the menu in the like-named node in the main buffer. |
| 1063 | (apply 'insert-buffer-substring (cdr node)))) | 1063 | (apply 'insert-buffer-substring (cdr node)))) |
| 1064 | (Info-dir-remove-duplicates) | 1064 | (Info-dir-remove-duplicates) |
| 1065 | ;; Kill all the buffers we just made. | 1065 | ;; Kill all the buffers we just made, including the special one excised. |
| 1066 | (mapc 'kill-buffer buffers) | 1066 | (mapc 'kill-buffer (cons buffer buffers)) |
| 1067 | (goto-char (point-min)) | 1067 | (goto-char (point-min)) |
| 1068 | (if problems | 1068 | (if problems |
| 1069 | (message "Composing main Info directory...problems encountered, see `*Messages*'") | 1069 | (message "Composing main Info directory...problems encountered, see `*Messages*'") |