aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGlenn Morris2019-04-29 09:12:53 -0700
committerGlenn Morris2019-04-29 09:12:53 -0700
commit7c7ee1dd52239ecc3665b7542bd5e0ebc9b74795 (patch)
tree9ac0d4b0cb1888b3fd4c836044341a40105cf3fa /src
parent3a903f09a10fc506df8bd0f0242856c7595c8e7d (diff)
parentc26d452ae15a74f0eeec53ba529eebaa95eb5489 (diff)
downloademacs-7c7ee1dd52239ecc3665b7542bd5e0ebc9b74795.tar.gz
emacs-7c7ee1dd52239ecc3665b7542bd5e0ebc9b74795.zip
Merge from origin/emacs-26
c26d452 (origin/emacs-26) * src/macfont.m (macfont_shape): Use conven... 140e7f8 Recommend using font-lock-face over face (Bug#35044) 7cb5364 Check if mouse_face_overlay was deleted (Bug#35273) # Conflicts: # src/macfont.m
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;