X-Git-Url: https://code.delx.au/gnu-emacs/blobdiff_plain/8eeb28635aafbbba375bc54cbccba2137d5a7aa2..3c3a05dfb70656c56f60666a8c32a28d85f072fb:/src/frame.c diff --git a/src/frame.c b/src/frame.c index 66e0078d38..34474417ef 100644 --- a/src/frame.c +++ b/src/frame.c @@ -370,7 +370,7 @@ make_frame (int mini_p) /* If buf is a 'hidden' buffer (i.e. one whose name starts with a space), try to find another one. */ if (SREF (Fbuffer_name (buf), 0) == ' ') - buf = Fother_buffer (buf, Qnil, Qnil); + buf = other_buffer_safely (buf); /* Use set_window_buffer, not Fset_window_buffer, and don't let hooks be run by it. The reason is that the whole frame/window