branch: elpa/mastodon commit a403ea300a77cf63141afe75ed7a4bdaf22fa683 Author: marty hiatt <martianhia...@disroot.org> Commit: marty hiatt <martianhia...@disroot.org>
notifs policy: fix autoloads --- lisp/mastodon-notifications.el | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/lisp/mastodon-notifications.el b/lisp/mastodon-notifications.el index 070e79d5f1..ab77861647 100644 --- a/lisp/mastodon-notifications.el +++ b/lisp/mastodon-notifications.el @@ -68,6 +68,9 @@ (autoload 'mastodon-tl--buffer-type-eq "mastodon-tl") (autoload 'mastodon-tl--buffer-property "mastodon-tl") (autoload 'mastodon-http--patch "mastodon-http") +(autoload 'mastodon-views--minor-view "mastodon-views") +(autoload 'mastodon-tl--goto-first-item "mastodon-tl") +(autoload 'mastodon-tl--init-sync "mastodon-tl") ;; notifications defcustoms moved into mastodon.el ;; as some need to be available without loading this file @@ -85,6 +88,7 @@ (defvar mastodon-profile-note-in-foll-reqs-max-length) (defvar mastodon-group-notifications) (defvar mastodon-notifications-grouped-names-count) +(defvar mastodon-tl--link-keymap) ;;; VARIABLES @@ -798,11 +802,6 @@ Status notifications are created when you call ;;; NOTIFICATION REQUESTS / FILTERING / POLICY -(declare-function mastodon-tl--init-sync "mastodon-tl") -(declare-function mastodon-views--minor-view "mastodon-views") -(declare-function mastodon-tl--goto-first-item "mastodon-tl") -(defvar mastodon-tl--link-keymap) - (defvar mastodon-notifications--requests-map (let ((map (make-sparse-keymap))) (set-keymap-parent map mastodon-mode-map)