diff options
author | Po Lu <luangruo@yahoo.com> | 2021-11-22 10:42:46 +0800 |
---|---|---|
committer | Po Lu <luangruo@yahoo.com> | 2021-11-22 10:47:29 +0800 |
commit | 9324efac480df3cd78af112da2b12a0d2bd18e02 (patch) | |
tree | df9a164eca57746fd357c296613062cec7b1f49b /lisp/emacs-lisp/eldoc.el | |
parent | 536e7bf03b2ef8451fdd6b8d62db08f2bc7ebec9 (diff) | |
download | emacs-9324efac480df3cd78af112da2b12a0d2bd18e02.tar.gz emacs-9324efac480df3cd78af112da2b12a0d2bd18e02.tar.bz2 emacs-9324efac480df3cd78af112da2b12a0d2bd18e02.zip |
Make `xwidget-display-event' a special event as well
* doc/lispref/commands.texi (Xwidget Events): Document that
`xwidget-display-event' is a special event, and that it should
be handled through callbacks.
* etc/NEWS: Update NEWS entry.
* lisp/xwidget.el (xwidget-webkit-new-session)
(xwidget-webkit-import-widget): Attach display callback.
(xwidget-webkit-display-event): Call display callback instead.
(xwidget-webkit-display-callback): New function.
* src/keyboard.c (make_lispy_event): Store
source information for XWIDGET_DISPLAY_EVENT correctly.
* src/xwidget.c (store_xwidget_display_event): Store
source of the display request.
(webkit_ready_to_show): Store source if available.
(webkit_create_cb_1): Store source if available.
(kill_xwidget): Remove dead widget from internal_xwidget_list.
Diffstat (limited to 'lisp/emacs-lisp/eldoc.el')
0 files changed, 0 insertions, 0 deletions