Function: logview-switch-to-view
logview-switch-to-view is an interactive and natively compiled
function defined in logview.el.
Signature
(logview-switch-to-view VIEW)
Documentation
Switch to a previously defined view.
Argument VIEW can either be a string (view name) or a number, in which case view with that index is activated.
If called interactively with a prefix argument, use its numeric value as quick access index. Otherwise, read the view name from the minibuffer.
Key Bindings
logview-mode-map v
Source Code
;; Defined in /nix/store/3zkn9hgpv447zb8nrg55d9x2ynmmrk40-emacs-packages-deps/share/emacs/site-lisp/elpa/logview-20260218.2013/logview.el
;;; View commands.
(defun logview-switch-to-view (view)
"Switch to a previously defined view.
Argument VIEW can either be a string (view name) or a number, in
which case view with that index is activated.
If called interactively with a prefix argument, use its numeric
value as quick access index. Otherwise, read the view name from
the minibuffer."
(interactive (list (logview--choose-view "Switch to view: " current-prefix-arg)))
(setf logview--main-filter-text (plist-get (logview--find-view view) :filters))
(logview--parse-filters))