aboutsummaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authormarty hiatt <martianhiatus [a t] riseup [d o t] net>2023-10-15 10:50:38 +0200
committermarty hiatt <martianhiatus [a t] riseup [d o t] net>2023-10-15 10:50:38 +0200
commit9aac053495a08482d04f36c258a4e11d7ec92ea4 (patch)
tree7efb2c9a5e434399687f3b88448e5f7a43862a7e /lisp
parenta53d9824fe19c7ddeea665878fd963a5b11695f5 (diff)
masto views map: use prev/next-toot, not item for n/p
Diffstat (limited to 'lisp')
-rw-r--r--lisp/mastodon-views.el7
1 files 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.")