aboutsummaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authormousebot <mousebot@riseup.net>2021-11-06 15:50:40 +0100
committermousebot <mousebot@riseup.net>2021-11-06 15:50:40 +0100
commit48f1193558c9655e2215615b5f6d0cf6ea4d4e08 (patch)
tree804117bfab62e7736e33bf52b31526b3ebee3a95 /lisp
parent14476572dafe12454015189f67d8f29f50b25ccb (diff)
tiny cleanup
Diffstat (limited to 'lisp')
-rw-r--r--lisp/mastodon-notifications.el1
-rw-r--r--lisp/mastodon-toot.el2
2 files changed, 1 insertions, 2 deletions
diff --git a/lisp/mastodon-notifications.el b/lisp/mastodon-notifications.el
index ad3d7b4..36f9d4a 100644
--- a/lisp/mastodon-notifications.el
+++ b/lisp/mastodon-notifications.el
@@ -73,7 +73,6 @@
" "
(cdr (assoc message mastodon-notifications--response-alist))))
-
(defun mastodon-notifications--follow-request-accept-notifs ()
"Accept the follow request of user at point, in notifications view."
(interactive)
diff --git a/lisp/mastodon-toot.el b/lisp/mastodon-toot.el
index d0d3dfa..deea2ef 100644
--- a/lisp/mastodon-toot.el
+++ b/lisp/mastodon-toot.el
@@ -159,7 +159,7 @@ Valid values are \"direct\", \"private\" (followers-only), \"unlisted\", and \"p
(mastodon-http--api "instance") 'mastodon-toot--get-max-toot-chars-callback))
(defun mastodon-toot--get-max-toot-chars-callback (json-response)
- "Set max_toot_chars returned in JSON-RESPONSE."
+ "Set max_toot_chars returned in JSON-RESPONSE and display in new toot buffer."
(setq mastodon-toot--max-toot-chars
(number-to-string
(cdr (assoc 'max_toot_chars json-response))))