aboutsummaryrefslogtreecommitdiff
path: root/lisp/mastodon-views.el
diff options
context:
space:
mode:
authormarty hiatt <martianhiatus [a t] riseup [d o t] net>2023-10-15 12:12:54 +0200
committermarty hiatt <martianhiatus [a t] riseup [d o t] net>2023-10-15 12:43:08 +0200
commitd59b8d0f8bae9c7ab8490cb6b1683d4c9beafd0d (patch)
tree9afe9f2017fe98469b334994eed18dacffaf4e93 /lisp/mastodon-views.el
parent574c17c4bdfe43a3081ddcbde4452dd477929c02 (diff)
next-/prev-toot>next-/prev-item, cond-case around pos update call
Diffstat (limited to 'lisp/mastodon-views.el')
-rw-r--r--lisp/mastodon-views.el12
1 files changed, 6 insertions, 6 deletions
diff --git a/lisp/mastodon-views.el b/lisp/mastodon-views.el
index 8571e15..24a9de0 100644
--- a/lisp/mastodon-views.el
+++ b/lisp/mastodon-views.el
@@ -51,8 +51,8 @@
(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-next-item "mastodon-tl")
(autoload 'mastodon-tl--goto-first-item "mastodon-tl")
(autoload 'mastodon-tl--do-if-item "mastodon-tl")
@@ -87,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-toot)
- (define-key map (kbd "p") #'mastodon-tl--goto-prev-toot)
+ (define-key map (kbd "n") #'mastodon-tl--goto-next-item)
+ (define-key map (kbd "p") #'mastodon-tl--goto-prev-item)
map)
"Base keymap for minor mastodon views.")
@@ -97,7 +97,7 @@
(set-keymap-parent map mastodon-views-map)
(define-key map (kbd "d") #'mastodon-views--delete-filter)
(define-key map (kbd "c") #'mastodon-views--create-filter)
- (define-key map (kbd "TAB") #'mastodon-tl--goto-next-item)
+ (define-key map (kbd "TAB") #'mastodon-tl--next-tab-item)
(define-key map (kbd "g") #'mastodon-views--view-filters)
map)
"Keymap for viewing filters.")
@@ -185,7 +185,7 @@ provides the JSON data."
(goto-char (point-min)))
;; (when data
;; FIXME: this seems to trigger a new request, but ideally would run.
- ;; (mastodon-tl--goto-next-toot))
+ ;; (mastodon-tl--goto-next-item))
)