>>>>> Ivan Shmakov writes: […] > * lisp/facemenu.el (facemenu-add-face): Follow the (stricter) logic > of merge_face_ref when determining whether the value of the 'face > property is a sole face or a list thereof. (Bug#???) > (Tested on c4e2be4587ec, 2015-02-16 07:22:46 UTC.) > Alternatively, a suitable, Lisp-callable predicate may be > split off ‘merge_face_ref’ (src/faces.c) and be used ine > ‘facemenu-add-face’. … Or should such a predicate be introduced to faces.el instead? The merge_face_ref () logic is a bit arcane, so I’d rather keep it confined to the inner parts of Emacs (whether faces.c, faces.el, or similar.) Please consider the revised patch MIMEd. * lisp/faces.el (face-list-p): New function. * lisp/facemenu.el (facemenu-add-face): Use it. (Bug#19912) Unless there be objections, I hope to push this new change to ‘master’ within the next day or two. -- FSF associate member #7257 http://boycottsystemd.org/ … 3013 B6A0 230E 334A