Function: activities--windows-set
activities--windows-set is a byte-compiled function defined in
activities.el.
Signature
(activities--windows-set STATE)
Documentation
Set window configuration according to STATE.
Source Code
;; Defined in ~/.emacs.d/elpa/activities-0.7.2/activities.el
(defun activities--windows-set (state)
"Set window configuration according to STATE."
;; HACK: Since `bookmark--jump-via' insists on calling a buffer-display
;; function after handling the bookmark, we use an immediate timer to
;; set the window configuration.
(run-at-time nil nil
(lambda (frame state)
(let ((window-persistent-parameters
(append activities-window-persistent-parameters
window-persistent-parameters)))
(window-state-put state (frame-root-window frame) 'safe)))
(selected-frame)
;; NOTE: We copy the state so as not to mutate the one in storage.
(activities--bufferize-window-state (copy-tree state))))