Function: logview-toggle-search-only-in-messages
logview-toggle-search-only-in-messages is an interactive and natively
compiled function defined in logview.el.
Signature
(logview-toggle-search-only-in-messages &optional ARG)
Documentation
Toggle logview-search-only-in-messages just for this buffer.
If invoked with prefix argument, enable the option if the argument is positive, disable it otherwise.
When the option is changed when already performing an incremental
search (with \<logview-isearch-map>M-x logview-toggle-search-only-in-messages (logview-toggle-search-only-in-messages)), the change is temporary and lasts only until
the search is ended. This is for consistency with e.g. M-s or
M-r during Isearch.
Key Bindings
logview-isearch-map M-m logview-mode-map o m
Source Code
;; Defined in /nix/store/3zkn9hgpv447zb8nrg55d9x2ynmmrk40-emacs-packages-deps/share/emacs/site-lisp/elpa/logview-20260218.2013/logview.el
(defun logview-toggle-search-only-in-messages (&optional arg)
"Toggle `logview-search-only-in-messages' just for this buffer.
If invoked with prefix argument, enable the option if the
argument is positive, disable it otherwise.
When the option is changed when already performing an incremental
search (with `\\<logview-isearch-map>\\[logview-toggle-search-only-in-messages]'), the change is temporary and lasts only until
the search is ended. This is for consistency with e.g. `M-s' or
`M-r' during Isearch."
(interactive (list (or current-prefix-arg 'toggle)))
(logview--toggle-option-locally 'logview-search-only-in-messages arg (called-interactively-p 'interactive)
"Incremental search will find matches only in messages"
"Incremental search will behave normally"
(lambda ()
(logview--refontify-buffer)
(logview--isearch-update-if-running))))