summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/lisp.el
diff options
context:
space:
mode:
authorPo Lu <luangruo@yahoo.com>2022-11-05 19:09:42 +0800
committerPo Lu <luangruo@yahoo.com>2022-11-05 19:11:29 +0800
commit154ecf61972fa7277bf9412f2bf34b496338b57d (patch)
treeecc26f1d14ad6aaf298948352190dff602d29138 /lisp/emacs-lisp/lisp.el
parent8721e87a6ec0874057f83f54498a0e3a64475a53 (diff)
downloademacs-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