diff options
author | marty hiatt <martianhiatus [a t] riseup [d o t] net> | 2023-06-10 14:16:25 +0200 |
---|---|---|
committer | marty hiatt <martianhiatus [a t] riseup [d o t] net> | 2023-06-10 14:16:25 +0200 |
commit | fc63be8f3f1e8bc9d2097f92bb7b4f28fe07b949 (patch) | |
tree | 96a5341812f5a7da7af9f385c168ff9877a68703 /lisp | |
parent | e010954eb2b50fbc151e0cea5c2db11a530556d2 (diff) |
add lemmy post regex to masto-url-p
Diffstat (limited to 'lisp')
-rw-r--r-- | lisp/mastodon.el | 3 |
1 files changed, 2 insertions, 1 deletions
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. |