Mercurial > hg > xemacs-beta
diff src/glyphs-widget.c @ 458:c33ae14dd6d0 r21-2-44
Import from CVS: tag r21-2-44
author | cvs |
---|---|
date | Mon, 13 Aug 2007 11:42:25 +0200 |
parents | d7a9135ec789 |
children | 183866b06e0b |
line wrap: on
line diff
--- a/src/glyphs-widget.c Mon Aug 13 11:41:26 2007 +0200 +++ b/src/glyphs-widget.c Mon Aug 13 11:42:25 2007 +0200 @@ -150,7 +150,7 @@ static void check_valid_int_or_function (Lisp_Object data) { - if (!INTP (data) && !CONSP (data)) + if (!INTP (data) && !CONSP (data) && !SYMBOLP (data)) invalid_argument ("must be an integer or expresssion", data); } @@ -1021,6 +1021,8 @@ /* Instantiate any new glyphs. */ for (; !NILP (items); items = XCDR (items)) { + /* #### We really want to use call_with_suspended_errors + here, but it won't allow us to call lisp. */ border = Fcons (call1 (Qmake_glyph, XCAR (items)), border); } IMAGE_INSTANCE_LAYOUT_CHILDREN (ii) = Fnreverse (border);