aboutsummaryrefslogtreecommitdiff
path: root/lisp/mastodon-discover.el
diff options
context:
space:
mode:
authormarty hiatt <martianhiatus@riseup.net>2024-02-01 15:58:07 +0100
committermarty hiatt <martianhiatus@riseup.net>2024-02-01 15:58:07 +0100
commit136e4d387a99ea5a1eb5cd1eee85d927b04203d1 (patch)
treebc1634665af09e819fbf5a10f749eb345227b9b2 /lisp/mastodon-discover.el
parenta8c80d25b7790746a439ae6c2deea3dc6bcac710 (diff)
parentfda3e5963d803754fc2e4d0bdbc005ab5e47a93d (diff)
Merge branch 'develop'
Diffstat (limited to 'lisp/mastodon-discover.el')
-rw-r--r--lisp/mastodon-discover.el6
1 files changed, 4 insertions, 2 deletions
diff --git a/lisp/mastodon-discover.el b/lisp/mastodon-discover.el
index da25196..c34d85f 100644
--- a/lisp/mastodon-discover.el
+++ b/lisp/mastodon-discover.el
@@ -5,7 +5,6 @@
;; Author: Johnson Denen <johnson.denen@gmail.com>
;; Marty Hiatt <martianhiatus@riseup.net>
;; Maintainer: Marty Hiatt <martianhiatus@riseup.net>
-;; Version: 1.0.0
;; Homepage: https://codeberg.org/martianh/mastodon.el
;; This file is not part of GNU Emacs.
@@ -36,6 +35,8 @@
(declare-function discover-add-context-menu "discover")
+(autoload 'mastodon-kill-window "mastodon")
+
(defun mastodon-discover ()
"Plug Mastodon functionality into `discover'."
(interactive)
@@ -64,6 +65,7 @@
("t" "New toot" mastodon-toot)
("r" "Reply" mastodon-toot--reply)
("C" "Copy toot URL" mastodon-toot--copy-toot-url)
+ ("o" "Open toot URL" mastodon-toot--open-toot-url)
("d" "Delete (your) toot" mastodon-toot--delete-toot)
("D" "Delete and redraft (your) toot" mastodon-toot--delete-toot)
("e" "Edit (your) toot" mastodon-toot--edit-toot-at-point)
@@ -116,7 +118,7 @@
("C-c C-c" "Cycle profile views" mastodon-profile--account-view-cycle))
("Quit"
("q" "Quit mastodon and bury buffer." kill-this-buffer)
- ("Q" "Quit mastodon buffer and kill window." kill-buffer-and-window)
+ ("Q" "Quit mastodon buffer and kill window." mastodon--kill-window)
("M-C-q" "Quit mastodon and kill all buffers." mastodon-kill-all-buffers)))))))
(provide 'mastodon-discover)