]> git.eshelyaron.com Git - emacs.git/commit
Allow fractional values of `polling-period'
authorPo Lu <luangruo@yahoo.com>
Fri, 21 Jan 2022 01:15:52 +0000 (09:15 +0800)
committerPo Lu <luangruo@yahoo.com>
Fri, 21 Jan 2022 01:15:52 +0000 (09:15 +0800)
commit452f46d3665e1bfab93ec14003484ce57b636471
tree692aaadf98b0cb1d711b3fcb39cee24771116606
parent7ff7f948f7802941b98294ae8a52a9a178dcaa9d
Allow fractional values of `polling-period'

This allows C-g to be handled faster in the NS port at the cost
of some extra CPU time on slow machines.

* etc/NEWS: Announce new feature.
* src/keyboard.c (start_polling):
(bind_polling_period): Handle floating point values of
`polling-period'.
(syms_of_keyboard): Make `polling-period' a Lisp variable
instead of an int variable.
etc/NEWS
src/keyboard.c