From e9188a2cdb2575e9b0c1c322431e1ebd686c4b9b Mon Sep 17 00:00:00 2001 From: mousebot Date: Fri, 1 Oct 2021 14:09:09 +0200 Subject: 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. --- lisp/mastodon.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lisp') 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) -- cgit v1.2.3