branch: elpa/fedi
commit 7983e589ca8e5a34c1cfffd31edb0c2920647fde
Author: marty hiatt <martianhiatus [a t] riseup [d o t] net>
Commit: marty hiatt <martianhiatus [a t] riseup [d o t] net>
update docstring eg use
---
fedi.el | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/fedi.el b/fedi.el
index a1201eecdb7..dc58769df7a 100644
--- a/fedi.el
+++ b/fedi.el
@@ -76,9 +76,11 @@ which see. ENDPOINT does not require a preceding slash.
For example, to make a GET request, called PKG-search to endpoint /search:
-\(fedi-request \"get\" \"search\"
- \"search\" (query)
- \\=`((\"q\" . ,query)))
+\(fedi-request \"get\" \"search\" \"search\"
+ (q)
+ \"Make a GET request.
+Q is the search query.\"
+ \\=(q))
This macro doesn't handle authenticated requests, as these differ
between services. But you can easily wrap it in another macro