(buffer, visible_ok)
register Lisp_Object buffer, visible_ok;
{
+ Lisp_Object Fset_buffer_major_mode ();
register Lisp_Object tail, buf, notsogood, tem;
notsogood = Qnil;
}
if (!NILP (notsogood))
return notsogood;
- return Fget_buffer_create (build_string ("*scratch*"));
+ buf = Fget_buffer_create (build_string ("*scratch*"));
+ Fset_buffer_major_mode (buf);
+ return buf;
}
\f
DEFUN ("buffer-disable-undo", Fbuffer_disable_undo, Sbuffer_disable_undo,