diff --git a/src/workgroups-wconfig.el b/src/workgroups-wconfig.el index c863aa93a5186128a501e4088a9e9625344f7499..015050c47c473350e3df6238ab0da65f938b1a4d 100644 --- a/src/workgroups-wconfig.el +++ b/src/workgroups-wconfig.el @@ -80,8 +80,8 @@ FRAME is deleted, so we don't lose its state." (defun wg-wconfig-restore-frame-position (wconfig &optional frame) "Use WCONFIG to restore FRAME's position. If frame is nil then `selected-frame'." - (wg-when-let ((left (wg-wconfig-left wconfig)) - (top (wg-wconfig-top wconfig))) + (-when-let* ((left (wg-wconfig-left wconfig)) + (top (wg-wconfig-top wconfig))) ;; Check that arguments are integers ;; Problem: https://github.com/pashinin/workgroups2/issues/15 (if (and (integerp left)