aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGlenn Morris2018-02-22 09:27:21 -0800
committerGlenn Morris2018-02-22 09:27:21 -0800
commit6bfb754c3ee2e0d667d36fb4300e2880715ea895 (patch)
treebfa882d420c6da5679f2c54d8d4d20dd1ebe6b2c /src
parentcb55ccae8be946f1562d74718086a4c8c8308ee5 (diff)
parent83187cd900c799865c967620eef3b7c18f3d168f (diff)
downloademacs-6bfb754c3ee2e0d667d36fb4300e2880715ea895.tar.gz
emacs-6bfb754c3ee2e0d667d36fb4300e2880715ea895.zip
Merge from origin/emacs-26
83187cd (origin/emacs-26) Skip mouse-face overlap check when mouse-fa... a6d8f2b Fix capitalization of "Mail-Followup-To" f9640f9 * lisp/progmodes/grep.el (grep-compute-defaults): 3a26c8a Semantic manual fixes 106a9f6 More improvements in the Emacs manual 244db85 * doc/misc/viper.texi (File and Buffer Handling): Add missing... f0d6a16 Fix documentation of 'x-underline-at-descent-line' 69a8f45 * lisp/textmodes/flyspell.el (flyspell-get-word): Doc fix. 05214c6 Correct variable markup in manuals 355c644 Improve the "Sending Mail" chapter of Emacs manual Conflicts: src/nsterm.m src/w32term.c
Diffstat (limited to 'src')
-rw-r--r--src/xdisp.c10
-rw-r--r--src/xterm.c2
2 files changed, 8 insertions, 4 deletions
diff --git a/src/xdisp.c b/src/xdisp.c
index 14286447d13..9170d6b777f 100644
--- a/src/xdisp.c
+++ b/src/xdisp.c
@@ -31377,10 +31377,12 @@ note_mouse_highlight (struct frame *f, int x, int y)
31377 /* Check mouse-face highlighting. */ 31377 /* Check mouse-face highlighting. */
31378 if (! same_region 31378 if (! same_region
31379 /* If there exists an overlay with mouse-face overlapping 31379 /* If there exists an overlay with mouse-face overlapping
31380 the one we are currently highlighting, we have to 31380 the one we are currently highlighting, we have to check
31381 check if we enter the overlapping overlay, and then 31381 if we enter the overlapping overlay, and then highlight
31382 highlight only that. */ 31382 only that. Skip the check when mouse-face highlighting
31383 || (OVERLAYP (hlinfo->mouse_face_overlay) 31383 is currently hidden to avoid Bug#30519. */
31384 || (!hlinfo->mouse_face_hidden
31385 && OVERLAYP (hlinfo->mouse_face_overlay)
31384 && mouse_face_overlay_overlaps (hlinfo->mouse_face_overlay))) 31386 && mouse_face_overlay_overlaps (hlinfo->mouse_face_overlay)))
31385 { 31387 {
31386 /* Find the highest priority overlay with a mouse-face. */ 31388 /* Find the highest priority overlay with a mouse-face. */
diff --git a/src/xterm.c b/src/xterm.c
index 2371058cd45..0d25c7f1a26 100644
--- a/src/xterm.c
+++ b/src/xterm.c
@@ -13250,6 +13250,8 @@ small font display sizes. */);
13250 DEFVAR_BOOL ("x-underline-at-descent-line", 13250 DEFVAR_BOOL ("x-underline-at-descent-line",
13251 x_underline_at_descent_line, 13251 x_underline_at_descent_line,
13252 doc: /* Non-nil means to draw the underline at the same place as the descent line. 13252 doc: /* Non-nil means to draw the underline at the same place as the descent line.
13253(If `line-spacing' is in effect, that moves the underline lower by
13254that many pixels.)
13253A value of nil means to draw the underline according to the value of the 13255A value of nil means to draw the underline according to the value of the
13254variable `x-use-underline-position-properties', which is usually at the 13256variable `x-use-underline-position-properties', which is usually at the
13255baseline level. The default value is nil. */); 13257baseline level. The default value is nil. */);