Mercurial > emacs
changeset 33791:435668e914b1
(Fmake_indirect_buffer): Don't treat nil as a
buffer object.
author | Gerd Moellmann <gerd@gnu.org> |
---|---|
date | Wed, 22 Nov 2000 22:33:55 +0000 |
parents | 7cb7e5a3030c |
children | 3349ff34a331 |
files | src/buffer.c |
diffstat | 1 files changed, 1 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/buffer.c Wed Nov 22 21:38:04 2000 +0000 +++ b/src/buffer.c Wed Nov 22 22:33:55 2000 +0000 @@ -476,8 +476,7 @@ 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");