aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormarty hiatt <martianhiatus [a t] riseup [d o t] net>2023-02-19 21:53:48 +0100
committermarty hiatt <martianhiatus [a t] riseup [d o t] net>2023-02-19 21:53:48 +0100
commit4f9a7be4926dbf3f33a717fcbed12de78c22b331 (patch)
tree59febfd6c6d1d9cadbab434dceb4072e30f1c99d
parenta47d4be15d93b99c0dd621a9b3a916be14a4cc39 (diff)
autoloads, flychecks
-rw-r--r--lisp/mastodon-profile.el4
-rw-r--r--lisp/mastodon-tl.el1
-rw-r--r--lisp/mastodon-toot.el6
3 files changed, 9 insertions, 2 deletions
diff --git a/lisp/mastodon-profile.el b/lisp/mastodon-profile.el
index b0b3e0e..aa4a12e 100644
--- a/lisp/mastodon-profile.el
+++ b/lisp/mastodon-profile.el
@@ -78,6 +78,9 @@
(autoload 'mastodon-tl--set-buffer-spec "mastodon-tl")
(autoload 'mastodon-tl--symbol "mastodon-tl")
(autoload 'mastodon-auth--get-account-id "mastodon-auth")
+(autoload 'mastodon-tl--profile-buffer-p "mastodon tl")
+(autoload 'mastodon-tl--buffer-type-eq "mastodon tl")
+(autoload 'mastodon-toot--count-toot-chars "mastodon-toot")
(defvar mastodon-instance-url)
(defvar mastodon-tl--buffer-spec)
@@ -86,6 +89,7 @@
(defvar mastodon-toot--max-toot-chars)
(defvar mastodon-toot--visibility)
(defvar mastodon-toot--content-nsfw)
+(defvar mastodon-tl--timeline-posts-count)
(defvar-local mastodon-profile--account nil
"The data for the account being described in the current profile buffer.")
diff --git a/lisp/mastodon-tl.el b/lisp/mastodon-tl.el
index 2a20e73..ba6b1df 100644
--- a/lisp/mastodon-tl.el
+++ b/lisp/mastodon-tl.el
@@ -87,6 +87,7 @@
(autoload 'mastodon-toot--iso-to-human "mastodon-toot")
(defvar mastodon-toot--visibility)
+(defvar mastodon-toot-mode)
(defvar mastodon-active-user)
(when (require 'mpv nil :no-error)
diff --git a/lisp/mastodon-toot.el b/lisp/mastodon-toot.el
index 250aefd..64cdca1 100644
--- a/lisp/mastodon-toot.el
+++ b/lisp/mastodon-toot.el
@@ -41,7 +41,6 @@
(require 'cl-lib)
(require 'persist)
-
(require 'mastodon-iso)
(defvar mastodon-instance-url)
@@ -83,6 +82,9 @@
(autoload 'mastodon-tl--cancel-scheduled-toot "mastodon-toot")
(autoload 'org-read-date "org")
(autoload 'iso8601-parse "iso8601")
+(autoload 'mastodon-tl--buffer-type-eq "mastodon-tl")
+(autoload 'mastodon-profile--show-user "mastodon-profile")
+(autoload 'mastodon-tl--set-buffer-spec "mastodon-tl")
;; for mastodon-toot--translate-toot-text
(autoload 'mastodon-tl--content "mastodon-tl")
@@ -310,7 +312,7 @@ Remove MARKER if REMOVE is non-nil, otherwise add it."
;; if point is inside the byline, back up first so
;; we don't move to the following toot:
(beginning-of-line)
- (previous-line)
+ (forward-line -1)
(mastodon-tl--goto-next-toot)))))
(defun mastodon-toot--action (action callback)