diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 8 | ||||
| -rw-r--r-- | src/xdisp.c | 8 |
2 files changed, 13 insertions, 3 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index b03c609f907..624ad71379d 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,6 +1,12 @@ | |||
| 1 | 2011-11-04 Eli Zaretskii <eliz@gnu.org> | ||
| 2 | |||
| 3 | * xdisp.c (note_mouse_highlight): If either of | ||
| 4 | previous/next-single-property-change returns nil, treat that as | ||
| 5 | the beginning or the end of the buffer. (Bug#9955) | ||
| 6 | |||
| 1 | 2011-11-04 Jan Djärv <jan.h.d@swipnet.se> | 7 | 2011-11-04 Jan Djärv <jan.h.d@swipnet.se> |
| 2 | 8 | ||
| 3 | * gtkutil.c (xg_make_tool_item): Add callbacks of one of wimage or | 9 | * gtkutil.c (xg_make_tool_item): Add callbacks if one of wimage or |
| 4 | label is not null (Bug#9951). | 10 | label is not null (Bug#9951). |
| 5 | (xg_tool_item_stale_p): Handle the fact that wimage and/or wlbl | 11 | (xg_tool_item_stale_p): Handle the fact that wimage and/or wlbl |
| 6 | may be NULL. | 12 | may be NULL. |
diff --git a/src/xdisp.c b/src/xdisp.c index 257e4ad4280..f358cdd6270 100644 --- a/src/xdisp.c +++ b/src/xdisp.c | |||
| @@ -27152,8 +27152,12 @@ note_mouse_highlight (struct frame *f, int x, int y) | |||
| 27152 | } | 27152 | } |
| 27153 | 27153 | ||
| 27154 | mouse_face_from_buffer_pos (window, hlinfo, pos, | 27154 | mouse_face_from_buffer_pos (window, hlinfo, pos, |
| 27155 | XFASTINT (before), | 27155 | NILP (before) |
| 27156 | XFASTINT (after), | 27156 | ? 1 |
| 27157 | : XFASTINT (before), | ||
| 27158 | NILP (after) | ||
| 27159 | ? BUF_Z (XBUFFER (buffer)) | ||
| 27160 | : XFASTINT (after), | ||
| 27157 | before_string, after_string, | 27161 | before_string, after_string, |
| 27158 | disp_string); | 27162 | disp_string); |
| 27159 | cursor = No_Cursor; | 27163 | cursor = No_Cursor; |