From 10c1a6c64ae14f0ae756b5f37713f82191a6be27 Mon Sep 17 00:00:00 2001 From: Sacha Chua Date: Tue, 26 Dec 2023 09:32:14 -0500 Subject: add emacsconf-pad-append-text --- emacsconf-pad.el | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/emacsconf-pad.el b/emacsconf-pad.el index abe8d64..2c8ac4b 100644 --- a/emacsconf-pad.el +++ b/emacsconf-pad.el @@ -93,12 +93,12 @@ You can find it in $ETHERPAD_PATH/APIKEY.txt" (defun emacsconf-pad-append-text (pad-id text) (interactive "MPad ID: \nMText: ") - (emacsconf-pad-json-request (format "%sapi/1/appendText?apikey=%s&padID=%s&text=%s" - emacsconf-pad-base - (url-hexify-string emacsconf-pad-api-key) - (url-hexify-string pad-id) - (url-hexify-string text)) - (called-interactively-p 'any))) + (emacsconf-pad-json-request (format "%sapi/1.2.13/appendText?apikey=%s&padID=%s&text=%s" + emacsconf-pad-base + (url-hexify-string emacsconf-pad-api-key) + (url-hexify-string pad-id) + (url-hexify-string text)) + (called-interactively-p 'any))) (defun emacsconf-pad-get-html (pad-id) (interactive "MPad ID: ") -- cgit v1.2.3