Function: logview-change-target-gap-length
logview-change-target-gap-length is an interactive and natively
compiled function defined in logview.el.
Signature
(logview-change-target-gap-length LENGTH)
Key Bindings
logview-mode-map o g logview-mode-map z g
Source Code
;; Defined in /nix/store/3zkn9hgpv447zb8nrg55d9x2ynmmrk40-emacs-packages-deps/share/emacs/site-lisp/elpa/logview-20260218.2013/logview.el
(defun logview-change-target-gap-length (length)
(interactive (list (if current-prefix-arg
(prefix-numeric-value current-prefix-arg)
(string-to-number (read-from-minibuffer (format "Search for gap this long (currently %s s): " (logview--target-gap-length)))))))
(if (and (numberp length) (>= length 0))
(setq logview--buffer-target-gap-length (when (/= length 0) length))
(user-error "Expected a non-negative positive number")))