From fbbb9148ccb63f0eccd032f9e7c8e585997d4185 Mon Sep 17 00:00:00 2001 From: Po Lu Date: Mon, 28 Mar 2022 12:28:53 +0000 Subject: 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. --- src/haikuselect.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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) } DEFUN ("haiku-selection-put", Fhaiku_selection_put, Shaiku_selection_put, - 3, 4, 0, + 2, 4, 0, doc: /* Add or remove content from the clipboard CLIPBOARD. CLIPBOARD is the symbol `PRIMARY', `SECONDARY' or `CLIPBOARD'. NAME is a MIME type denoting the type of the data to add. DATA is the -- cgit v1.2.1