aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorEli Zaretskii2021-08-23 22:14:03 +0300
committerEli Zaretskii2021-08-23 22:14:03 +0300
commit8f43180f0dc5b3e25d8252950ea63e2e92d40611 (patch)
treeab768a7a20dfc22dce11b938f3d437a4d74ea748 /src
parent4281e5b34d47052f3f8aa07295032ba3a764c54e (diff)
downloademacs-8f43180f0dc5b3e25d8252950ea63e2e92d40611.tar.gz
emacs-8f43180f0dc5b3e25d8252950ea63e2e92d40611.zip
Improve documentation of 'inhibit-mouse-event-check'
* etc/NEWS: * src/callint.c (syms_of_callint): Fix wording of the documentation of 'inhibit-mouse-event-check'.
Diffstat (limited to 'src')
-rw-r--r--src/callint.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/callint.c b/src/callint.c
index 5201dc7ba16..44dae361c1f 100644
--- a/src/callint.c
+++ b/src/callint.c
@@ -901,10 +901,11 @@ a way to turn themselves off when a mouse command switches windows. */);
901 Vmouse_leave_buffer_hook = Qnil; 901 Vmouse_leave_buffer_hook = Qnil;
902 902
903 DEFVAR_BOOL ("inhibit-mouse-event-check", inhibit_mouse_event_check, 903 DEFVAR_BOOL ("inhibit-mouse-event-check", inhibit_mouse_event_check,
904 doc: /* Non-nil means the interactive spec "e" doesn't check for events. 904 doc: /* Whether the interactive spec "e" requires a mouse gesture event.
905In this case `(interactive "e")' doesn't signal an error when no mouse event 905If non-nil, `(interactive "e")' doesn't signal an error when the command
906is produced while using the keyboard. Then `event-start', `event-end', 906was invoked by an input event that is not a mouse gesture: a click, a drag,
907`event-click-count' can create a new event. */); 907etc. To create the event data when the input was some other event,
908use `event-start', `event-end', and `event-click-count'. */);
908 inhibit_mouse_event_check = false; 909 inhibit_mouse_event_check = false;
909 910
910 defsubr (&Sinteractive); 911 defsubr (&Sinteractive);