Commit 1dd6a7ad authored by Gerd Moellmann's avatar Gerd Moellmann

(Fmake_indirect_buffer): Don't treat nil as a

buffer object.
parent 1598a961
......@@ -476,8 +476,7 @@ CLONE nil means the indirect buffer's state is reset to default values.")
base_buffer = Fget_buffer (base_buffer);
if (NILP (base_buffer))
error ("No such buffer: `%s'",
XSTRING (XBUFFER (base_buffer)->name)->data);
error ("No such buffer: `%s'", XSTRING (name)->data);
if (XSTRING (name)->size == 0)
error ("Empty string for buffer name is not allowed");
......
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