mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-26 07:11:34 -08:00
(Fmake_indirect_buffer): Check that NAME is a string.
This commit is contained in:
parent
6e56e52681
commit
ab53e06559
1 changed files with 1 additions and 0 deletions
|
|
@ -532,6 +532,7 @@ CLONE nil means the indirect buffer's state is reset to default values. */)
|
|||
Lisp_Object buf;
|
||||
struct buffer *b;
|
||||
|
||||
CHECK_STRING (name);
|
||||
buf = Fget_buffer (name);
|
||||
if (!NILP (buf))
|
||||
error ("Buffer name `%s' is in use", SDATA (name));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue