Function: logview--do-temporarily-widening

logview--do-temporarily-widening is a natively compiled function defined in logview.el.

Signature

(logview--do-temporarily-widening BODY)

Source Code

;; Defined in /nix/store/3zkn9hgpv447zb8nrg55d9x2ynmmrk40-emacs-packages-deps/share/emacs/site-lisp/elpa/logview-20260218.2013/logview.el
(defun logview--do-temporarily-widening (body)
  (save-restriction
    ;; {LOCKED-NARROWING}
    ;; "Hurr-durr, mah security, you cannot unlock without knowing the tag."  Try all
    ;; tags I could find in Emacs source code.  Normally this should be enough, but
    ;; there is obviously no guarantee as macro `with-restriction' is part of public
    ;; Elisp interface now.
    (without-restriction
      :label 'long-line-optimizations-in-fontification-functions
      (without-restriction
        :label 'long-line-optimizations-in-command-hooks
        (logview--do-widen)
        (funcall body)))))