Re: tmp buf fix (Re: Undumpable object type : buffer, extent)
Martin Stjernholm <[email protected]>
| Newsgroups | gmane.emacs.xemacs.design |
|---|---|
| Message-ID | <[email protected]> |
"Ilya N. Golubev" <[email protected]> wrote: > No leak in XEmacs was found. However, the bug being fixed below may > occur in other packages. Perhaps an item should be added to > "(lispref)Style Tips" to avoid this. > > * cc-vars.el (c-emacs-features): Call `buffer-disable-undo' on > temporary buffer, so that it does not stay referenced by internal > undo variable(s) after getting killed, gagging portable dumper. Isn't it a leak that undo info still is around for killed buffers? Or is it possible to "unkill" buffers back into existence in XEmacs? > This makes buffer purpose more explicit. > > * cc-vars.el (c-emacs-features): Make temporary buffer name say > so, also disabling recording undo information, so that the buffer > does not stay referenced by internal undo variable(s) after > getting killed, gagging portable dumper. You're right, the buffer name should clearly have a space in front anyway. Thanks.