diff src/glyphs.c @ 223:2c611d1463a6 r20-4b10

Import from CVS: tag r20-4b10
author cvs
date Mon, 13 Aug 2007 10:10:54 +0200
parents 3d6bfa290dbd
children 83b3d10dcba9
line wrap: on
line diff
--- a/src/glyphs.c	Mon Aug 13 10:10:03 2007 +0200
+++ b/src/glyphs.c	Mon Aug 13 10:10:54 2007 +0200
@@ -400,10 +400,10 @@
   temp_buffer = Fget_buffer_create (build_string (" *pixmap conversion*"));
   GCPRO1 (temp_buffer);
   set_buffer_internal (XBUFFER (temp_buffer));
-  Ferase_buffer (Fcurrent_buffer ());
+  Ferase_buffer (Qnil);
   specbind (intern ("format-alist"), Qnil);
   Finsert_file_contents_internal (file, Qnil, Qnil, Qnil, Qnil, Qnil, Qnil);
-  data = Fbuffer_substring (Qnil, Qnil, Fcurrent_buffer ());
+  data = Fbuffer_substring (Qnil, Qnil, Qnil);
   unbind_to (count, Qnil);
   UNGCPRO;
   return data;