Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
fe8aeef3
Commit
fe8aeef3
authored
Aug 06, 1993
by
Richard M. Stallman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(set_poll_suppress_count): New function.
parent
1cdc3155
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
0 deletions
+21
-0
src/keyboard.c
src/keyboard.c
+21
-0
No files found.
src/keyboard.c
View file @
fe8aeef3
...
...
@@ -1258,6 +1258,27 @@ stop_polling ()
}
#endif
}
/* Set the value of poll_suppress_count to COUNT
and start or stop polling accordingly. */
void
set_poll_suppress_count
(
count
)
int
count
;
{
#ifdef POLL_FOR_INPUT
if
(
count
==
0
&&
poll_suppress_count
!=
0
)
{
poll_suppress_count
=
1
;
start_polling
();
}
else
if
(
count
!=
0
&&
poll_suppress_count
==
0
)
{
stop_polling
();
}
poll_suppress_count
=
count
;
#endif
}
/* Applying the control modifier to CHARACTER. */
int
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment