aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormarty hiatt <martianhiatus [a t] riseup [d o t] net>2022-11-11 12:36:45 +0100
committermarty hiatt <martianhiatus [a t] riseup [d o t] net>2022-11-11 12:36:45 +0100
commite0179b9ae26bcb7481959634b9ef91891c2a72eb (patch)
tree8c05614b25c30ac1a420ad7e121023e7fdc0ae16
parent16f8c9c6e21bbe55d6c40099dab5253e4a165354 (diff)
add guppe groupe regex to --masto-url-p, lookup broken tho
-rw-r--r--lisp/mastodon.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/mastodon.el b/lisp/mastodon.el
index 3b0a7d0..da2d442 100644
--- a/lisp/mastodon.el
+++ b/lisp/mastodon.el
@@ -324,7 +324,8 @@ not, just browse the URL in the normal fashion."
(string-match "^/display/[-a-f0-9]+$" query)
(string-match "^/profile/[[:alpha:]]+$" query)
(string-match "^/p/[[:alpha:]]+/[[:digit:]]+$" query)
- (string-match "^/[[:alpha:]]+$" query)))))
+ (string-match "^/[[:alpha:]]+$" query)
+ (string-match "^/u/[[:alpha:]]+$" query)))))
;;;###autoload
(add-hook 'mastodon-mode-hook (lambda ()