* David Kastrup (2007-07-22) writes: > Ralf Angeli <[EMAIL PROTECTED]> writes: > >> - (find-file file) >> + (set-buffer (get-buffer-create file)) >> (erase-buffer) > > NO!!!!!! You can't just take a buffer that happens to have the same > _buffer_ name as the file and kill it. What were you thinking? Ok, > it is Sunday morning. > > If you start and end with a clean slate, probably the easiest thing to > do is to wrap everything in > > (with-temp-file file > ... > )
`generate-new-buffer' instead of `get-buffer-create' should work as well, I guess. -- Ralf _______________________________________________ auctex-devel mailing list [email protected] http://lists.gnu.org/mailman/listinfo/auctex-devel
