summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSacha Chua <sacha@sachachua.com>2023-12-26 09:32:14 -0500
committerSacha Chua <sacha@sachachua.com>2023-12-26 09:32:14 -0500
commit10c1a6c64ae14f0ae756b5f37713f82191a6be27 (patch)
tree03946545fd8748db1a78694d73895f7570824ae1
parenta9db572bfa1a8290c59c51958bfad32f1807d096 (diff)
downloademacsconf-el-10c1a6c64ae14f0ae756b5f37713f82191a6be27.tar.xz
emacsconf-el-10c1a6c64ae14f0ae756b5f37713f82191a6be27.zip
add emacsconf-pad-append-text
-rw-r--r--emacsconf-pad.el12
1 files 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: ")