Function: majutsu-save-window-configuration

majutsu-save-window-configuration is a natively compiled function defined in majutsu-mode.el.

Signature

(majutsu-save-window-configuration)

Documentation

Save the current window configuration.

Later, when the buffer is buried, it may be restored by majutsu-restore-window-configuration.

Source Code

;; Defined in /nix/store/jagqw3nms546pad0gxi5f3wsckk6pji7-emacs-packages-deps/share/emacs/site-lisp/majutsu-mode.el
(defun majutsu-save-window-configuration ()
  "Save the current window configuration.

Later, when the buffer is buried, it may be restored by
`majutsu-restore-window-configuration'."
  (cond (majutsu-inhibit-save-previous-winconf
         (when (eq majutsu-inhibit-save-previous-winconf 'unset)
           (setq majutsu-previous-window-configuration nil)))
        ((not (get-buffer-window (current-buffer) (selected-frame)))
         (setq majutsu-previous-window-configuration
               (current-window-configuration)))))