projects
/
chise
/
xemacs-chise.git.1
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
XEmacs 21.4.6 "Common Lisp".
[chise/xemacs-chise.git.1]
/
src
/
buffer.c
diff --git
a/src/buffer.c
b/src/buffer.c
index
a1620b7
..
8685e5a
100644
(file)
--- a/
src/buffer.c
+++ b/
src/buffer.c
@@
-356,7
+356,7
@@
get_buffer (Lisp_Object name, int error_if_deleted_or_does_not_exist)
struct buffer *
decode_buffer (Lisp_Object buffer, int allow_string)
{
- if (NILP (buffer))
+ if (NILP (buffer) || (!POINTER_TYPE_P( XTYPE(buffer))))
return current_buffer;
if (allow_string && STRINGP (buffer))