Function: eww-back-url

eww-back-url is an interactive and byte-compiled function defined in eww.el.gz.

Signature

(eww-back-url)

Documentation

Go to the previously displayed page.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/net/eww.el.gz
(defun eww-back-url ()
  "Go to the previously displayed page."
  (interactive nil eww-mode)
  (when (>= eww-history-position (length eww-history))
    (user-error "No previous page"))
  (if (eww-save-history)
      ;; We were at the latest page (which was just added to the
      ;; history), so go back two entries.
      (setq eww-history-position 2)
    (setq eww-history-position (1+ eww-history-position)))
  (eww-restore-history (elt eww-history (1- eww-history-position))))