aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormarty hiatt <martianhiatus [a t] riseup [d o t] net>2023-06-20 18:58:46 +0200
committermarty hiatt <martianhiatus [a t] riseup [d o t] net>2023-06-20 18:58:46 +0200
commit2dbc99c2a80460084190da1f2e481d737106c9a1 (patch)
tree3229d585c1589644c266f20a23f21755998c8e6e
parentae51f4c0bfca79559965ee253e82f45388d83fae (diff)
add a lemmy community URL to url-p
-rw-r--r--lisp/mastodon.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/lisp/mastodon.el b/lisp/mastodon.el
index a991726..bb316e9 100644
--- a/lisp/mastodon.el
+++ b/lisp/mastodon.el
@@ -368,6 +368,7 @@ not, just browse the URL in the normal fashion."
(string-match "^/p/[[:alpha:]]+/[[:digit:]]+$" query)
(string-match "^/[[:alpha:]]+$" query)
(string-match "^/u/[[:alpha:]]+$" query)
+ (string-match "^/c/[[:alnum:]]+$" query)
(string-match "^/post/[[:digit:]]+$" query)))))
(defun mastodon-live-buffers ()