summaryrefslogtreecommitdiff
path: root/src/w32notify.c
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2012-10-18 20:00:00 +0200
committerEli Zaretskii <eliz@gnu.org>2012-10-18 20:00:00 +0200
commitd884121be07ea5e47ad7c763d5370a6def7f9bd8 (patch)
tree468b554a7be285a6ea4185569e8f00a4d7d5bf5f /src/w32notify.c
parent0b86d359eb52cef840345f7fd09b5f4342aede03 (diff)
downloademacs-d884121be07ea5e47ad7c763d5370a6def7f9bd8.tar.gz
Tested and fixed conversion of a descriptor (pointer) to event code.
Diffstat (limited to 'src/w32notify.c')
-rw-r--r--src/w32notify.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/w32notify.c b/src/w32notify.c
index f14621001a8..9fcd15e7f8f 100644
--- a/src/w32notify.c
+++ b/src/w32notify.c
@@ -600,8 +600,9 @@ w32_get_watch_object (void *desc)
{
Lisp_Object descriptor = XIL ((EMACS_INT)desc);
- /* This is called from the input queue handling code, so we cannot
- possibly QUIT if watch_list is not in the right condition. */
+ /* This is called from the input queue handling code, inside a
+ critical section, so we cannot possibly QUIT if watch_list is not
+ in the right condition. */
return NILP (watch_list) ? Qnil : assoc_no_quit (descriptor, watch_list);
}