From f0137a0ad60df4ac8b78020f155e33f733493027 Mon Sep 17 00:00:00 2001 From: David Edmondson Date: Tue, 16 Jan 2024 14:00:34 +0000 Subject: Add 'o' binding to open the current toot in a browser --- lisp/mastodon-toot.el | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'lisp/mastodon-toot.el') diff --git a/lisp/mastodon-toot.el b/lisp/mastodon-toot.el index 6febec7..bffa20e 100644 --- a/lisp/mastodon-toot.el +++ b/lisp/mastodon-toot.el @@ -517,6 +517,11 @@ base toot." (kill-new url) (message "Toot URL copied to the clipboard."))) +(defun mastodon-toot--open-toot-url () + "Open URL of toot at point." + (interactive) + (browse-url (mastodon-toot--toot-url))) + (defun mastodon-toot--toot-url () "Return the URL of the base toot at point." (let* ((toot (or (mastodon-tl--property 'base-toot) -- cgit v1.2.3