From 9aac053495a08482d04f36c258a4e11d7ec92ea4 Mon Sep 17 00:00:00 2001 From: marty hiatt Date: Sun, 15 Oct 2023 10:50:38 +0200 Subject: masto views map: use prev/next-toot, not item for n/p --- lisp/mastodon-views.el | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/lisp/mastodon-views.el b/lisp/mastodon-views.el index fc2e2d1..7a65b30 100644 --- a/lisp/mastodon-views.el +++ b/lisp/mastodon-views.el @@ -51,8 +51,9 @@ (autoload 'mastodon-tl--set-face "mastodon-tl") (autoload 'mastodon-tl--buffer-type-eq "mastodon-tl") (autoload 'mastodon-tl--profile-buffer-p "mastodon-tl") +(autoload 'mastodon-tl--goto-next-toot "mastodon-tl") +(autoload 'mastodon-tl--goto-prev-toot "mastodon-tl") (autoload 'mastodon-tl--goto-next-item "mastodon-tl") -(autoload 'mastodon-tl--goto-prev-item "mastodon-tl") (autoload 'mastodon-tl--goto-first-item "mastodon-tl") (autoload 'mastodon-tl--do-if-toot "mastodon-tl") (autoload 'mastodon-tl--set-buffer-spec "mastodon-tl") @@ -86,8 +87,8 @@ (defvar mastodon-views-map (let ((map (make-sparse-keymap))) (set-keymap-parent map mastodon-mode-map) - (define-key map (kbd "n") #'mastodon-tl--goto-next-item) - (define-key map (kbd "p") #'mastodon-tl--goto-prev-item) + (define-key map (kbd "n") #'mastodon-tl--goto-next-toot) + (define-key map (kbd "p") #'mastodon-tl--goto-prev-toot) map) "Base keymap for minor mastodon views.") -- cgit v1.2.3