From 1b5fd39d84cfc3138c2619631eebe508e7a0c2f9 Mon Sep 17 00:00:00 2001 From: Sean Allred Date: Sun, 4 Jan 2015 15:21:55 -0500 Subject: Use symbols for url-request-method --- sx-interaction.el | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'sx-interaction.el') diff --git a/sx-interaction.el b/sx-interaction.el index 80c8e5a..a72b14c 100644 --- a/sx-interaction.el +++ b/sx-interaction.el @@ -202,7 +202,7 @@ With the UNDO prefix argument, unfavorite the question instead." :submethod (if undo 'favorite/undo 'favorite) :auth 'warn :site .site_par - :url-method "POST" + :url-method 'post :filter sx-browse-filter))) (defalias 'sx-star #'sx-favorite) @@ -241,7 +241,7 @@ changes." :id (or .comment_id .answer_id .question_id) :submethod (concat type (unless status "/undo")) :auth 'warn - :url-method "POST" + :url-method 'post :filter sx-browse-filter :site .site_par)))) ;; The api returns the new DATA. @@ -282,7 +282,7 @@ TEXT is a string. Interactively, it is read from the minibufer." :id (or .post_id .answer_id .question_id) :submethod "comments/add" :auth 'warn - :url-method "POST" + :url-method 'post :filter sx-browse-filter :site .site_par :keywords `((body . ,text))))) -- cgit v1.2.3