Function: logview-toggle-filter-preview
logview-toggle-filter-preview is an interactive and natively compiled
function defined in logview.el.
Signature
(logview-toggle-filter-preview &optional ARG)
Documentation
Toggle logview-preview-filter-changes just for this buffer.
If invoked with prefix argument, enable the option if the argument is positive, disable it otherwise.
This command may be invoked from filter editing buffer too. In this case, it affects its associated log buffer.
Key Bindings
logview-filter-edit-mode-map C-c C-p logview-mode-map o p
Source Code
;; Defined in /nix/store/3zkn9hgpv447zb8nrg55d9x2ynmmrk40-emacs-packages-deps/share/emacs/site-lisp/elpa/logview-20260218.2013/logview.el
(defun logview-toggle-filter-preview (&optional arg)
"Toggle `logview-preview-filter-changes' just for this buffer.
If invoked with prefix argument, enable the option if the
argument is positive, disable it otherwise.
This command may be invoked from filter editing buffer too. In
this case, it affects its associated log buffer."
(interactive (list (or current-prefix-arg 'toggle)))
(with-current-buffer (or (when (eq major-mode 'logview-filter-edit-mode) logview-filter-edit--parent-buffer)
(current-buffer))
(logview--toggle-option-locally 'logview-preview-filter-changes arg (called-interactively-p 'interactive)
"Filtering results will be shown on-the-fly when possible"
"New filters will only take effect when pressing `C-c C-c' or `C-c C-a'")
(logview--parse-filters)))