Function: view-echo-area-messages

view-echo-area-messages is an interactive and byte-compiled function defined in help.el.gz.

Signature

(view-echo-area-messages)

Documentation

View the log of recent echo-area messages: the *Messages* buffer.

The number of messages retained in that buffer is specified by the variable message-log-max.

View in manual

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/help.el.gz
(defun view-echo-area-messages ()
  "View the log of recent echo-area messages: the `*Messages*' buffer.
The number of messages retained in that buffer is specified by
the variable `message-log-max'."
  (interactive)
  (with-current-buffer (messages-buffer)
    (goto-char (point-max))
    (let ((win (display-buffer (current-buffer))))
      ;; If the buffer is already displayed, we need to forcibly set
      ;; the window point to scroll to the end of the buffer.
      (set-window-point win (point))
      win)))