[Emacs] Better code for switching to messages buffer

This commit is contained in:
Lucien Cartier-Tilet 2021-10-22 12:09:47 +02:00
parent 8d247d4733
commit 13e9e9d3b6
Signed by: phundrak
GPG Key ID: BD7789E705CB8DCA

View File

@ -535,7 +535,7 @@ b s~, which bring the user directly to the ~*Messages*~ buffer and the
(defun switch-to-messages-buffer ()
"Switch to Messages buffer."
(interactive)
(switch-to-buffer "*Messages*"))
(switch-to-buffer (messages-buffer)))
(defun switch-to-scratch-buffer ()
"Switch to Messages buffer."