]> code.delx.au - gnu-emacs/commit
Avoid aborting due to errors in arguments of 'set-face-attribute'
authorEli Zaretskii <eliz@gnu.org>
Tue, 24 May 2016 16:04:16 +0000 (19:04 +0300)
committerEli Zaretskii <eliz@gnu.org>
Tue, 24 May 2016 16:04:16 +0000 (19:04 +0300)
commitfbfd4787fbec11fe69f5e661e7c5ab4436f7cb72
tree32571d8aa97de826a30be7da755b4b618bfb8023
parentbdfbe6deff52bbf820b0fa1a5ea78b89963e5738
Avoid aborting due to errors in arguments of 'set-face-attribute'

* src/xfaces.c (Finternal_set_lisp_face_attribute): Check the
FRAME argument before using it.  This avoids gratuitous aborts in
Emacs built with --enable-checking when the luser was unlucky
enough to get the argument list in wrong order.
src/xfaces.c