Function: logview-toggle-entry-details
logview-toggle-entry-details is an interactive and natively compiled
function defined in logview.el.
Signature
(logview-toggle-entry-details &optional ARG INTERACTIVE)
Documentation
Toggle whether details for current entry are shown.
If invoked with prefix argument, show them if the argument is positive, hide otherwise.
In Transient Mark mode, if the region is active, call
logview-toggle-region-entry-details. See that function help
for how toggling works.
Key Bindings
logview-mode-map d
Source Code
;; Defined in /nix/store/3zkn9hgpv447zb8nrg55d9x2ynmmrk40-emacs-packages-deps/share/emacs/site-lisp/elpa/logview-20260218.2013/logview.el
;;; Showing/hiding entry details commands.
(defun logview-toggle-entry-details (&optional arg interactive)
"Toggle whether details for current entry are shown.
If invoked with prefix argument, show them if the argument is
positive, hide otherwise.
In Transient Mark mode, if the region is active, call
`logview-toggle-region-entry-details'. See that function help
for how toggling works."
(interactive (list (if (use-region-p)
(list (or current-prefix-arg 'toggle))
(or current-prefix-arg 'toggle))
t))
(if (consp arg)
(logview-toggle-region-entry-details (point) (mark) (car arg) interactive)
(logview--std-temporarily-widening
(logview--std-altering
(logview--locate-current-entry entry start
(let ((details-start (logview--entry-details-start entry start)))
(unless details-start
(user-error "Current entry has no details"))
(logview--update-entry-invisibility start details-start (logview--entry-end entry start)
'propagate 'propagate (if (eq arg 'toggle)
(not (memq logview--hidden-details-symbol (get-text-property details-start 'invisible)))
(> (prefix-numeric-value arg) 0)))))))))