diff options
author | Po Lu <luangruo@yahoo.com> | 2022-11-05 19:09:42 +0800 |
---|---|---|
committer | Po Lu <luangruo@yahoo.com> | 2022-11-05 19:11:29 +0800 |
commit | 154ecf61972fa7277bf9412f2bf34b496338b57d (patch) | |
tree | ecc26f1d14ad6aaf298948352190dff602d29138 /lisp/emacs-lisp/lisp.el | |
parent | 8721e87a6ec0874057f83f54498a0e3a64475a53 (diff) | |
download | emacs-154ecf61972fa7277bf9412f2bf34b496338b57d.tar.gz emacs-154ecf61972fa7277bf9412f2bf34b496338b57d.tar.bz2 emacs-154ecf61972fa7277bf9412f2bf34b496338b57d.zip |
Simplify XI scroll class reporting code
* src/xterm.c (xi_populate_device_from_info): Use xnmalloc.
Avoid reading classes at all when the XI library only supports
2.0.
(xi_handle_new_classes): New function.
(xi_handle_device_changed): Move class parsing logic there to
avoid duplicating code.
Diffstat (limited to 'lisp/emacs-lisp/lisp.el')
0 files changed, 0 insertions, 0 deletions