Function: forge--maybe-restore-winconf

forge--maybe-restore-winconf is a natively compiled function defined in forge-post.el.

Signature

(forge--maybe-restore-winconf WINCONF)

Source Code

;; Defined in /nix/store/923zwib42c4qw6x4xps0cv1wi8qcd6lp-emacs-packages-deps/share/emacs/site-lisp/elpa/forge-20261005.753/forge-post.el
(defun forge--maybe-restore-winconf (winconf)
  (when (and winconf
             (eq (window-configuration-frame winconf)
                 (selected-frame)))
    (set-window-configuration winconf)))