2025-03-26 16:20 UTC
(defun my-toot (&optional begin end)
"Get a string and toot it on Mastodon."
(interactive "r")
(if (region-active-p)
(setq tootext (buffer-substring begin end))
(setq tootext (read-string "What shall I toot? : ")))
(with-temp-buffer
(insert tootext)
(toot)))
Replies (1)
-
@anonimno@social.tchncs.de 2025-03-26 16:21
Small function I wrote to toot from #Emacs using emacstodon.el