Function: ghostel-previous-hyperlink

ghostel-previous-hyperlink is an interactive and natively compiled function defined in ghostel-links.el.

Signature

(ghostel-previous-hyperlink &optional N)

Documentation

Enter ghostel-readonly-default-mode and move to the Nth previous hyperlink.

Wraps to point-max when no link is found before point.

Key Bindings

ghostel-hyperlink-repeat-map C-p ghostel-hyperlink-repeat-map p ghostel-mode-map C-c C-p

Source Code

;; Defined in /nix/store/1252krff0gb2kisjcpp45m50cpdskfrl-emacs-packages-deps/share/emacs/site-lisp/ghostel-links.el
(defun ghostel-previous-hyperlink (&optional n)
  "Enter `ghostel-readonly-default-mode' and move to the Nth previous hyperlink.
Wraps to `point-max' when no link is found before point."
  (interactive "p")
  (unless (memq ghostel--input-mode '(copy emacs))
    (ghostel--enter-readonly-input-mode 'default))
  (dotimes (_ (or n 1))
    (ghostel--goto-hyperlink 'previous)))