Fix bug #16378 with mishandling of empty faces.
authorMatthias Dahl <ml_emacs-lists@binary-island.eu>
Sat, 5 Apr 2014 07:25:52 +0000 (10:25 +0300)
committerEli Zaretskii <eliz@gnu.org>
Sat, 5 Apr 2014 07:25:52 +0000 (10:25 +0300)
commitfdafd487a90fbd4febe853971f238c5395c12542
treec9bdfaa3aee04e2cd021d093ab30b46b4a80ebf0
parenteb7a03cc7672f8179b9d1a403bb019e753ed907f
Fix bug #16378 with mishandling of empty faces.

 lisp/faces.el (face-spec-choose): Accept additional optional argument,
 whose value is returned if no matching attributes are found.
 (face-spec-recalc): Use the new optional argument when calling
 face-spec-choose.
lisp/ChangeLog
lisp/faces.el