summaryrefslogtreecommitdiff
path: root/test/lisp/emacs-lisp/benchmark-tests.el
diff options
context:
space:
mode:
authorPo Lu <luangruo@yahoo.com>2022-08-09 15:43:30 +0800
committerPo Lu <luangruo@yahoo.com>2022-08-09 15:44:03 +0800
commit1dc3ecc6c3cd20d758010ce480a8d6467cbe107f (patch)
tree81ad9bdf616d6c4aef3cca2417270ccf10102305 /test/lisp/emacs-lisp/benchmark-tests.el
parent2053c6aca170f6ced8928b38328a22604171d8b7 (diff)
downloademacs-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