diff options
Diffstat (limited to 'lisp')
| -rw-r--r-- | lisp/mastodon-toot.el | 3 | 
1 files changed, 2 insertions, 1 deletions
| diff --git a/lisp/mastodon-toot.el b/lisp/mastodon-toot.el index 9c2179a..59b8364 100644 --- a/lisp/mastodon-toot.el +++ b/lisp/mastodon-toot.el @@ -1570,7 +1570,8 @@ CW is the content warning, which contributes to the character count."      (insert toot-string)      (goto-char (point-min))      ;; handle URLs -    (while (search-forward-regexp "\\w+://[^ \n]*" nil t) ; URL +    (while (search-forward-regexp mastodon-toot-url-regex nil t) +                                        ; "\\w+://[^ \n]*" old regex        (replace-match "xxxxxxxxxxxxxxxxxxxxxxx")) ; 23 x's      ;; handle @handles      (goto-char (point-min)) | 
