From: Eli Zaretskii Date: Tue, 14 Jan 2020 15:46:39 +0000 (+0200) Subject: ; * lisp/simple.el (messages-buffer): Doc fix. (Bug#39124) X-Git-Tag: emacs-27.0.90~168 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=7b14329d86aec2ad3d33de557ecb2ea103f6b0ea;p=emacs.git ; * lisp/simple.el (messages-buffer): Doc fix. (Bug#39124) --- diff --git a/lisp/simple.el b/lisp/simple.el index e6e58474022..693d8a160df 100644 --- a/lisp/simple.el +++ b/lisp/simple.el @@ -8948,7 +8948,7 @@ and setting it to nil." (defun messages-buffer () "Return the \"*Messages*\" buffer. -If it does not exist, create and it switch it to `messages-buffer-mode'." +If it does not exist, create it and switch it to `messages-buffer-mode'." (or (get-buffer "*Messages*") (with-current-buffer (get-buffer-create "*Messages*") (messages-buffer-mode)