From fc63be8f3f1e8bc9d2097f92bb7b4f28fe07b949 Mon Sep 17 00:00:00 2001 From: marty hiatt Date: Sat, 10 Jun 2023 14:16:25 +0200 Subject: add lemmy post regex to masto-url-p --- lisp/mastodon.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lisp/mastodon.el b/lisp/mastodon.el index ce72f34..a76bdf1 100644 --- a/lisp/mastodon.el +++ b/lisp/mastodon.el @@ -367,7 +367,8 @@ not, just browse the URL in the normal fashion." (string-match "^/profile/[[:alpha:]]+$" query) (string-match "^/p/[[:alpha:]]+/[[:digit:]]+$" query) (string-match "^/[[:alpha:]]+$" query) - (string-match "^/u/[[:alpha:]]+$" query))))) + (string-match "^/u/[[:alpha:]]+$" query) + (string-match "^/post/[[:digit:]]+$" query))))) (defun mastodon-live-buffers () "Return a list of open mastodon buffers. -- cgit v1.2.3