aboutsummaryrefslogtreecommitdiff
path: root/lisp/mastodon.el
diff options
context:
space:
mode:
authormarty hiatt <martianhiatus@riseup.net>2024-02-22 10:31:25 +0100
committermarty hiatt <martianhiatus@riseup.net>2024-02-22 10:31:25 +0100
commit45e59eab514c11c69e5d0e619de967442ce1fddc (patch)
treebb13707647d038ef1a903ea401247011fe1f4df4 /lisp/mastodon.el
parent5977495b8a7d2782b36723289e805f018375275b (diff)
make byte-compiler happier
Diffstat (limited to 'lisp/mastodon.el')
-rw-r--r--lisp/mastodon.el4
1 files changed, 3 insertions, 1 deletions
diff --git a/lisp/mastodon.el b/lisp/mastodon.el
index abc7787..7a04c87 100644
--- a/lisp/mastodon.el
+++ b/lisp/mastodon.el
@@ -97,6 +97,8 @@
(autoload 'mastodon-views--view-instance-description "mastodon-views")
(autoload 'mastodon-views--view-lists "mastodon-views")
(autoload 'mastodon-views--view-scheduled-toots "mastodon-views")
+(autoload 'mastodon-tl--dm-user "mastodon-tl")
+(autoload 'mastodon-tl--scroll-up-command "mastodon-tl")
(autoload 'special-mode "simple")
(defvar mastodon-tl--highlight-current-toot)
@@ -317,7 +319,7 @@ FORCE means to fetch from the server and update
(setq mastodon-profile-credential-account
;; TODO: we should also signal a quit condition after like 5
;; secs here
- (condition-case x
+ (condition-case nil
(eval req)
(t ; req fails, return old value
mastodon-profile-credential-account)))