Function: logview-hide-entry
logview-hide-entry is an interactive and natively compiled function
defined in logview.el.
Signature
(logview-hide-entry &optional N INTERACTIVE)
Documentation
Explicitly hide N currently visible entries starting at point.
If N is negative, hide -N previous entries instead, not including the current.
In Transient Mark mode, if the region is active and this command
is invoked without prefix argument, hide all entries in the
region instead (i.e. just like logview-hide-region-entries).
Key Bindings
logview-mode-map h
Source Code
;; Defined in /nix/store/3zkn9hgpv447zb8nrg55d9x2ynmmrk40-emacs-packages-deps/share/emacs/site-lisp/elpa/logview-20260218.2013/logview.el
;;; Explicit entry hiding/showing commands.
(defun logview-hide-entry (&optional n interactive)
"Explicitly hide N currently visible entries starting at point.
If N is negative, hide -N previous entries instead, not including
the current.
In Transient Mark mode, if the region is active and this command
is invoked without prefix argument, hide all entries in the
region instead (i.e. just like `logview-hide-region-entries')."
(interactive (list (if (or current-prefix-arg (not (use-region-p)))
(prefix-numeric-value current-prefix-arg)
'use-region)
t))
(if (eq n 'use-region)
(logview-hide-region-entries (point) (mark) interactive)
(logview--assert)
(unless n
(setq n 1))
(logview--std-temporarily-widening
(logview--std-altering
(logview--maybe-complain-about-movement n (logview--iterate-successive-entries (point) n #'logview--hide-entry-callback t))))))