aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/macfont.m2
-rw-r--r--src/xdisp.c4
2 files changed, 4 insertions, 2 deletions
diff --git a/src/macfont.m b/src/macfont.m
index d8e86201f53..0ade77e7337 100644
--- a/src/macfont.m
+++ b/src/macfont.m
@@ -2991,7 +2991,7 @@ macfont_shape (Lisp_Object lgstring)
2991 2991
2992 if (NILP (lglyph)) 2992 if (NILP (lglyph))
2993 { 2993 {
2994 lglyph = make_nil_vector (LGLYPH_SIZE); 2994 lglyph = LGLYPH_NEW ();
2995 LGSTRING_SET_GLYPH (lgstring, i, lglyph); 2995 LGSTRING_SET_GLYPH (lgstring, i, lglyph);
2996 } 2996 }
2997 2997
diff --git a/src/xdisp.c b/src/xdisp.c
index d52d1333a04..95ff8513e30 100644
--- a/src/xdisp.c
+++ b/src/xdisp.c
@@ -31641,7 +31641,9 @@ note_mouse_highlight (struct frame *f, int x, int y)
31641 is currently hidden to avoid Bug#30519. */ 31641 is currently hidden to avoid Bug#30519. */
31642 || (!hlinfo->mouse_face_hidden 31642 || (!hlinfo->mouse_face_hidden
31643 && OVERLAYP (hlinfo->mouse_face_overlay) 31643 && OVERLAYP (hlinfo->mouse_face_overlay)
31644 && mouse_face_overlay_overlaps (hlinfo->mouse_face_overlay))) 31644 /* It's possible the overlay was deleted (Bug#35273). */
31645 && XMARKER (OVERLAY_START (hlinfo->mouse_face_overlay))->buffer
31646 && mouse_face_overlay_overlaps (hlinfo->mouse_face_overlay)))
31645 { 31647 {
31646 /* Find the highest priority overlay with a mouse-face. */ 31648 /* Find the highest priority overlay with a mouse-face. */
31647 Lisp_Object overlay = Qnil; 31649 Lisp_Object overlay = Qnil;