aboutsummaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authormousebot <mousebot@riseup.net>2021-10-01 14:09:09 +0200
committermousebot <mousebot@riseup.net>2021-10-01 14:09:09 +0200
commite9188a2cdb2575e9b0c1c322431e1ebd686c4b9b (patch)
tree38e03e3c73f43ac43af0351801a65124efffc1ad /lisp
parentbdf9661de4a67a45cd41f3312c96b26c30396c80 (diff)
kill-current-buffer instead of kill-this-buffer
kill-this-buffer doesn't always work if not called from the menu bar, as stated in its docstring.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/mastodon.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/mastodon.el b/lisp/mastodon.el
index acb9e12..a06b18d 100644
--- a/lisp/mastodon.el
+++ b/lisp/mastodon.el
@@ -122,7 +122,7 @@ Use. e.g. \"%c\" for your locale's date and time format."
(define-key map (kbd "P") #'mastodon-profile--show-user)
(define-key map (kbd "T") #'mastodon-tl--thread)
;; navigation out of mastodon
- (define-key map (kbd "q") #'kill-this-buffer)
+ (define-key map (kbd "q") #'kill-current-buffer)
(define-key map (kbd "Q") #'kill-buffer-and-window)
;; timeline actions
(define-key map (kbd "b") #'mastodon-toot--toggle-boost)