@ -258,6 +258,11 @@ This function keeps the sortedness intact."
|
|||||||
(defun eyebrowse--load-window-config (slot)
|
(defun eyebrowse--load-window-config (slot)
|
||||||
"Restore the window config from SLOT."
|
"Restore the window config from SLOT."
|
||||||
(-when-let (match (assq slot (eyebrowse--get 'window-configs)))
|
(-when-let (match (assq slot (eyebrowse--get 'window-configs)))
|
||||||
|
;; KLUDGE: workaround for #36
|
||||||
|
;; see also http://debbugs.gnu.org/cgi/bugreport.cgi?bug=20848
|
||||||
|
(when (version<= emacs-version "24.5.1")
|
||||||
|
(delete-other-windows)
|
||||||
|
(set-window-dedicated-p nil nil))
|
||||||
(window-state-put (cadr match) (frame-root-window))))
|
(window-state-put (cadr match) (frame-root-window))))
|
||||||
|
|
||||||
(defun eyebrowse--read-slot ()
|
(defun eyebrowse--read-slot ()
|
||||||
|
|||||||
Reference in New Issue
Block a user