Mats Lidell writes:
I think the problem is that GNU wants a face name in facep but we
want
a face OBJECT. So the line above should be replaced with this (I think)
(if (find-face face) face nil)))
In XEmacs it would be better style to just use (find-face face) there,
and use face-* functions to extract face properties ). If all you
want to do is return the name of the face, I suppose you can minimize
the diff this way, though.
I also don't understand what org-mode wants `face-at-point' to do.
It's documented
Return the face of the character after point.
If it has more than one face, return the first one.
Return nil if it has no specified face.
but this doesn't make a lot of sense in XEmacs, since multiple faces
are merged by redisplay, and I'm not sure why you'd want the "first"
face.
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://lists.xemacs.org/mailman/listinfo/xemacs-beta