diff options
| author | Miles Bader | 2008-06-01 05:04:24 +0000 |
|---|---|---|
| committer | Miles Bader | 2008-06-01 05:04:24 +0000 |
| commit | f2cec7a9907796d97bbe4f99ce00d1866b773dfb (patch) | |
| tree | 24b0e99f39a2da47cc60d4f8c3848c01f7f0bf99 /src/ChangeLog | |
| parent | 70583cb56977d91d94bff77cb2fb93922c44876c (diff) | |
| download | emacs-f2cec7a9907796d97bbe4f99ce00d1866b773dfb.tar.gz emacs-f2cec7a9907796d97bbe4f99ce00d1866b773dfb.zip | |
Implement face-remapping-alist feature
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-1195
Diffstat (limited to 'src/ChangeLog')
| -rw-r--r-- | src/ChangeLog | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index c8cbaf174dd..526d0c07bb0 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,37 @@ | |||
| 1 | 2008-06-01 Miles Bader <miles@gnu.org> | ||
| 2 | |||
| 3 | * xfaces.c (Vface_remapping_alist): New variable. | ||
| 4 | (syms_of_xfaces): Initialize it. | ||
| 5 | (enum named_merge_point_kind): New type. | ||
| 6 | (struct named_merge_point): Add `named_merge_point_kind' field. | ||
| 7 | (push_named_merge_point): Make cycle detection respect different | ||
| 8 | named-merge-point kinds. | ||
| 9 | (lface_from_face_name_no_resolve): Renamed from `lface_from_face_name'. | ||
| 10 | Remove face-name alias resolution. | ||
| 11 | (lface_from_face_name): New definition using | ||
| 12 | `lface_from_face_name_no_resolve'. | ||
| 13 | (get_lface_attributes_no_remap): Renamed from `get_lface_attributes'. | ||
| 14 | Call lface_from_face_name_no_resolve instead of lface_from_face_name. | ||
| 15 | (get_lface_attributes): New definition that layers face-remapping on | ||
| 16 | top of get_lface_attributes_no_remap. New arg `named_merge_points'. | ||
| 17 | (lookup_basic_face): New function. | ||
| 18 | (lookup_derived_face): Pass new last arg to `get_lface_attributes'. | ||
| 19 | (realize_named_face): Call `get_lface_attributes_no_remap' instead of | ||
| 20 | `get_lface_attributes'. | ||
| 21 | (face_at_buffer_position): Use `lookup_basic_face' to lookup | ||
| 22 | DEFAULT_FACE_ID if necessary. When optimizing the default-face case, | ||
| 23 | return default_face's face-id instead of the constant DEFAULT_FACE_ID. | ||
| 24 | |||
| 25 | * xdisp.c (init_iterator): Pass base_face_id through | ||
| 26 | `lookup_basic_face' when we actually use it as a face-id. | ||
| 27 | (handle_single_display_prop): Use `lookup_basic_face' to lookup | ||
| 28 | DEFAULT_FACE_ID. | ||
| 29 | |||
| 30 | * fontset.c (Finternal_char_font): Use `lookup_basic_face' to | ||
| 31 | lookup the initial face-id. | ||
| 32 | |||
| 33 | * dispextern.h (lookup_basic_face, Vface_remapping_alist): New decls. | ||
| 34 | |||
| 1 | 2008-06-01 Juanma Barranquero <lekktu@gmail.com> | 35 | 2008-06-01 Juanma Barranquero <lekktu@gmail.com> |
| 2 | 36 | ||
| 3 | * textprop.c (syms_of_textprop) <text-property-default-nonsticky>: | 37 | * textprop.c (syms_of_textprop) <text-property-default-nonsticky>: |