changeset 54819:8df5ed349fc2

(Fmake_indirect_buffer): Check that NAME is a string.
author Andreas Schwab <schwab@suse.de>
date Mon, 12 Apr 2004 12:13:03 +0000
parents 50e0b2d92ba3
children 55d196917d3b
files src/buffer.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/buffer.c	Mon Apr 12 10:39:09 2004 +0000
+++ b/src/buffer.c	Mon Apr 12 12:13:03 2004 +0000
@@ -532,6 +532,7 @@
   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));