1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-29 00:31:01 -08:00
emacs/doc
Jan Djärv 3c334c1412 Add :distant-foreground to faces.
* doc/lispref/display.texi (Face Attributes): Document :distant-foreground.

* etc/NEWS: Mention :distant-foreground.

* lisp/faces.el (face-x-resources): Add :distant-foreground.
(region): Use :distant-foreground for gtk and ns.

* src/dispextern.h (lface_attribute_index): Add
LFACE_DISTANT_FOREGROUND_INDEX.

* src/xfaces.c: Declare color_distance.
(QCdistant_foreground): New variable.
(NEAR_SAME_COLOR_THRESHOLD): New define.
(load_color2): New function.
(load_color): Call load_color2.
(load_face_colors): Call load_color2 and if distant-color is specified
calculate distant and use distant-color if colors are near.
(LFACE_DISTANT_FOREGROUND): New define.
(merge_face_ref, Finternal_set_lisp_face_attribute)
(Finternal_get_lisp_face_attribute)
(x_supports_face_attributes_p): Handle distant-foreground similar to
foreground.
(syms_of_xfaces): DEFSYM QCdistant_foreground.
2013-11-01 16:47:10 +01:00
..
emacs Remove remaining @refills from doc/*/*.texi files 2013-10-23 13:20:09 -04:00
lispintro Progress towards allowing installation in directories with whitespace 2013-10-23 00:20:57 -07:00
lispref Add :distant-foreground to faces. 2013-11-01 16:47:10 +01:00
man * doc/emacs/xresources.texi (Motif Resources): 2013-08-31 12:49:52 -07:00
misc * ert.texi (Running Tests Interactively): Adapt examle output. 2013-10-24 09:40:05 +02:00