diff options
author | Po Lu <luangruo@yahoo.com> | 2022-03-27 13:36:45 +0000 |
---|---|---|
committer | Po Lu <luangruo@yahoo.com> | 2022-03-27 13:36:45 +0000 |
commit | be21c95842f37e164606a6b392f5396d91506f61 (patch) | |
tree | 5d25c80461c213a2c683565233e7016782fba8ee /lisp/emacs-lisp/generator.el | |
parent | 46863b7dfa210e73244af9bc790222dd66d5051d (diff) | |
download | emacs-be21c95842f37e164606a6b392f5396d91506f61.tar.gz emacs-be21c95842f37e164606a6b392f5396d91506f61.tar.bz2 emacs-be21c95842f37e164606a6b392f5396d91506f61.zip |
Store latin-1 content into the Haiku clipboard as well
* lisp/term/haiku-win.el (haiku-normal-selection-encoders): New
variable.
(haiku-select-encode-utf-8-string, haiku-select-encode-xstring):
New functions.
(gui-backend-set-selection): Use new selection encoder functions
instead of hard-coding UTF-8.
(haiku-dnd-handle-drag-n-drop-event): Rename to
`haiku-drag-and-drop'.
* src/haiku_select.cc (be_lock_clipboard_message): Accept new
argument `clear'.
(be_unlock_clipboard): Accept new argument `discard'.
* src/haikuselect.c (Fhaiku_selection_data): Change calls to
`be_lock_clipboard_message' and `be_unlock_clipboard'.
(haiku_unwind_clipboard_lock): New function.
(Fhaiku_selection_put): Accept new meaning of `name' which means
to set the selection message.
* src/haikuselect.h: Update prototypes.
Diffstat (limited to 'lisp/emacs-lisp/generator.el')
0 files changed, 0 insertions, 0 deletions