emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/mastodon 3c3ea71707 03/47: masto-url-p -> fedi-url-p


From: ELPA Syncer
Subject: [nongnu] elpa/mastodon 3c3ea71707 03/47: masto-url-p -> fedi-url-p
Date: Fri, 13 Oct 2023 19:00:54 -0400 (EDT)

branch: elpa/mastodon
commit 3c3ea71707d086858c141d141c2ec964d0782a2a
Author: marty hiatt <martianhiatus [a t] riseup [d o t] net>
Commit: marty hiatt <martianhiatus [a t] riseup [d o t] net>

    masto-url-p -> fedi-url-p
---
 lisp/mastodon.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lisp/mastodon.el b/lisp/mastodon.el
index 04d2fe850f..1e6674dad3 100644
--- a/lisp/mastodon.el
+++ b/lisp/mastodon.el
@@ -352,7 +352,7 @@ not, just browse the URL in the normal fashion."
                     (thing-at-point-url-at-point)
                     (mastodon-tl--property 'shr-url :no-move)
                     (read-string "Lookup URL: "))))
-    (if (not (mastodon--masto-url-p query))
+    (if (not (mastodon--fedi-url-p query))
         ;; (shr-browse-url query) ; doesn't work (keep our shr keymap)
         (browse-url query)
       (message "Performing lookup...")
@@ -374,7 +374,7 @@ not, just browse the URL in the normal fashion."
               (t
                (browse-url query)))))))
 
-(defun mastodon--masto-url-p (query)
+(defun mastodon--fedi-url-p (query)
   "Check if QUERY resembles a fediverse URL."
   ;; calqued off 
https://github.com/tuskyapp/Tusky/blob/c8fc2418b8f5458a817bba221d025b822225e130/app/src/main/java/com/keylesspalace/tusky/BottomSheetActivity.kt
   ;; thx to Conny Duck!



reply via email to

[Prev in Thread] Current Thread [Next in Thread]