diff options
author | Po Lu <luangruo@yahoo.com> | 2022-08-09 15:43:30 +0800 |
---|---|---|
committer | Po Lu <luangruo@yahoo.com> | 2022-08-09 15:44:03 +0800 |
commit | 1dc3ecc6c3cd20d758010ce480a8d6467cbe107f (patch) | |
tree | 81ad9bdf616d6c4aef3cca2417270ccf10102305 /test/lisp/emacs-lisp/benchmark-tests.el | |
parent | 2053c6aca170f6ced8928b38328a22604171d8b7 (diff) | |
download | emacs-1dc3ecc6c3cd20d758010ce480a8d6467cbe107f.tar.gz emacs-1dc3ecc6c3cd20d758010ce480a8d6467cbe107f.tar.bz2 emacs-1dc3ecc6c3cd20d758010ce480a8d6467cbe107f.zip |
Factor out some duplicate code from handle_one_xevent
* src/xterm.c (xi_disable_devices): New function.
(handle_one_xevent): Use that to disable an array of device IDs
instead of copypasting the same block of code over and over
again.
Diffstat (limited to 'test/lisp/emacs-lisp/benchmark-tests.el')
0 files changed, 0 insertions, 0 deletions