aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorEli Zaretskii2023-07-22 18:50:26 +0300
committerEli Zaretskii2023-07-22 18:50:26 +0300
commitcfdce1a19fa8a845b78e535b510932df945598ad (patch)
tree5a68608f4c1ba217744ef461757372f592995ef6 /src
parent7a0c0b2ad80004127add275cf703cc0ac03d174c (diff)
downloademacs-cfdce1a19fa8a845b78e535b510932df945598ad.tar.gz
emacs-cfdce1a19fa8a845b78e535b510932df945598ad.zip
; Fix documentation of last change.
* src/xdisp.c (syms_of_xdisp): * src/dispnew.c (syms_of_display): * doc/lispref/commands.texi (Accessing Mouse): Fix documentation of last change.
Diffstat (limited to 'src')
-rw-r--r--src/dispnew.c9
-rw-r--r--src/xdisp.c4
2 files changed, 6 insertions, 7 deletions
diff --git a/src/dispnew.c b/src/dispnew.c
index 821357c51c1..28f0eaeaa95 100644
--- a/src/dispnew.c
+++ b/src/dispnew.c
@@ -6823,12 +6823,11 @@ predicates which report frame's specific UI-related capabilities. */);
6823 doc: /* Non-nil means put cursor in minibuffer, at end of any message there. */); 6823 doc: /* Non-nil means put cursor in minibuffer, at end of any message there. */);
6824 6824
6825 DEFVAR_BOOL ("mouse-prefer-closest-glyph", mouse_prefer_closest_glyph, 6825 DEFVAR_BOOL ("mouse-prefer-closest-glyph", mouse_prefer_closest_glyph,
6826 doc: /* Non-nil means mouse position lists are reported relative 6826 doc: /* Non-nil means mouse click position is taken from glyph closest to click.
6827to the glyph closest to their coordinates.
6828 6827
6829 When non-nil, mouse position lists will be reported with their 6828When non-nil, mouse position lists will report buffer position set to
6830`posn-point' set to the position of the glyph closest to the mouse 6829the position of the glyph that is the closest to the mouse pointer
6831pointer, instead of the glyph immediately under. */); 6830at the time of the click, instead of the glyph immediately under it. */);
6832 mouse_prefer_closest_glyph = false; 6831 mouse_prefer_closest_glyph = false;
6833 6832
6834 DEFVAR_LISP ("glyph-table", Vglyph_table, 6833 DEFVAR_LISP ("glyph-table", Vglyph_table,
diff --git a/src/xdisp.c b/src/xdisp.c
index 1de6fcfd172..540fdbb0b07 100644
--- a/src/xdisp.c
+++ b/src/xdisp.c
@@ -37513,10 +37513,10 @@ may be more familiar to users. */);
37513 display_raw_bytes_as_hex = false; 37513 display_raw_bytes_as_hex = false;
37514 37514
37515 DEFVAR_BOOL ("mouse-fine-grained-tracking", mouse_fine_grained_tracking, 37515 DEFVAR_BOOL ("mouse-fine-grained-tracking", mouse_fine_grained_tracking,
37516 doc: /* Non-nil for pixel-wise mouse-movement. 37516 doc: /* Non-nil for pixelwise mouse-movement.
37517When nil, mouse-movement events will not be generated as long as the 37517When nil, mouse-movement events will not be generated as long as the
37518mouse stays within the extent of a single glyph (except for images). 37518mouse stays within the extent of a single glyph (except for images).
37519When nil and mouse-prefer-closest-glyph is non-nil, mouse-movement 37519When nil and `mouse-prefer-closest-glyph' is non-nil, mouse-movement
37520events will instead not be generated as long as the mouse stays within 37520events will instead not be generated as long as the mouse stays within
37521the extent of a single left/right half glyph (except for images). */); 37521the extent of a single left/right half glyph (except for images). */);
37522 mouse_fine_grained_tracking = false; 37522 mouse_fine_grained_tracking = false;