Function: logview-last-section

logview-last-section is an interactive and natively compiled function defined in logview.el.

Signature

(logview-last-section &optional SET-VIEW-IF-NEEDED)

Documentation

Move point to the last (visible) section in this thread.

Point is positioned at the beginning of the message of the visible entry (usually the header) of the section.

Key Bindings

logview-mode-map c .

Source Code

;; Defined in /nix/store/3zkn9hgpv447zb8nrg55d9x2ynmmrk40-emacs-packages-deps/share/emacs/site-lisp/elpa/logview-20260218.2013/logview.el
(defun logview-last-section (&optional set-view-if-needed)
  "Move point to the last (visible) section in this thread.
Point is positioned at the beginning of the message of the
visible entry (usually the header) of the section."
  ;; The "p" is only needed so that SET-VIEW-IF-NEEDED is non-nil when called
  ;; interactively.
  (interactive "p")
  (unless (region-active-p)
    (push-mark))
  (logview--std-temporarily-widening
    (when (> (logview--do-forward-section-as-command set-view-if-needed most-positive-fixnum) 0)
      (logview--forward-section 0))))