Commit 933bfda1 authored by Gerd Moellmann's avatar Gerd Moellmann
Browse files

(Fkill_buffer): Don't Fset_buffer when testing if

the buffer is the sole visible buffer when in the mini-buffer.
parent 6e080e4b
...@@ -1241,7 +1241,6 @@ with SIGHUP.") ...@@ -1241,7 +1241,6 @@ with SIGHUP.")
if (EQ (tem, XWINDOW (minibuf_window)->buffer)) if (EQ (tem, XWINDOW (minibuf_window)->buffer))
{ {
tem = Fother_buffer (buf, Qnil, Qnil); tem = Fother_buffer (buf, Qnil, Qnil);
Fset_buffer (tem);
if (EQ (buf, tem)) if (EQ (buf, tem))
return Qnil; return Qnil;
} }
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment