diff options
author | Po Lu <luangruo@yahoo.com> | 2022-12-15 20:06:37 +0800 |
---|---|---|
committer | Po Lu <luangruo@yahoo.com> | 2022-12-15 20:06:59 +0800 |
commit | db69249b761a80158c1469b2a169d6f5c8509ae1 (patch) | |
tree | 8d2e5f817c399f3b86bb777062651b9bba25faf7 /lisp/emacs-lisp/lisp-mode.el | |
parent | 09a985ae9f486b7bba933c17e99eeff22207a87e (diff) | |
download | emacs-db69249b761a80158c1469b2a169d6f5c8509ae1.tar.gz emacs-db69249b761a80158c1469b2a169d6f5c8509ae1.tar.bz2 emacs-db69249b761a80158c1469b2a169d6f5c8509ae1.zip |
Handle selection transfer errors earlier
* src/xselect.c (x_decline_selection_request, struct transfer)
(struct x_selection_request, x_cancel_selection_transfer)
(x_start_selection_transfer, x_continue_selection_transfer):
Give the right serial to x_ignore_errors_for_next_request.
(x_handle_selection_error): New function.
(x_reply_selection_request): Give the right serial to
x_ignore_errors_for_next_request.
* src/xterm.c (x_ignore_errors_for_next_request): New arg
`selection_serial'. All callers changed.
(x_error_handler): Call selection error handler.
* src/xterm.h (struct x_failable_request): New field
`selection_serial'.
Diffstat (limited to 'lisp/emacs-lisp/lisp-mode.el')
0 files changed, 0 insertions, 0 deletions