aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPo Lu2022-03-28 12:28:53 +0000
committerPo Lu2022-03-28 12:28:53 +0000
commitfbbb9148ccb63f0eccd032f9e7c8e585997d4185 (patch)
tree7262a1823022453d006b4636cf0ccbc89a559058 /src
parentdc0ee78d93c36606e7e8502d8ccff5f8c6116550 (diff)
downloademacs-fbbb9148ccb63f0eccd032f9e7c8e585997d4185.tar.gz
emacs-fbbb9148ccb63f0eccd032f9e7c8e585997d4185.zip
Minor fixes to Haiku selection support
* lisp/term/haiku-win.el (haiku-selection-bounds): New function. (haiku-dnd-convert-string, haiku-select-encode-xstring) (haiku-select-encode-utf-8-string): Handle position pairs correctly. (gui-backend-set-selection): Adjust for new airity. * src/haikuselect.c (Fhaiku_selection_put): Fix arity.
Diffstat (limited to 'src')
-rw-r--r--src/haikuselect.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/haikuselect.c b/src/haikuselect.c
index 461482fea18..c1c619ee8c4 100644
--- a/src/haikuselect.c
+++ b/src/haikuselect.c
@@ -112,7 +112,7 @@ haiku_unwind_clipboard_lock (int clipboard)
112} 112}
113 113
114DEFUN ("haiku-selection-put", Fhaiku_selection_put, Shaiku_selection_put, 114DEFUN ("haiku-selection-put", Fhaiku_selection_put, Shaiku_selection_put,
115 3, 4, 0, 115 2, 4, 0,
116 doc: /* Add or remove content from the clipboard CLIPBOARD. 116 doc: /* Add or remove content from the clipboard CLIPBOARD.
117CLIPBOARD is the symbol `PRIMARY', `SECONDARY' or `CLIPBOARD'. NAME 117CLIPBOARD is the symbol `PRIMARY', `SECONDARY' or `CLIPBOARD'. NAME
118is a MIME type denoting the type of the data to add. DATA is the 118is a MIME type denoting the type of the data to add. DATA is the