Eliminate a compile warning

* exwm-workspace.el (exwm-workspace-move-window): Replace the
obsolete `run-window-configuration-change-hook'.
This commit is contained in:
Chris Feng 2019-12-08 00:00:00 +00:00
parent 6a3e9b2c64
commit 8b05c2a30d

View file

@ -872,7 +872,7 @@ INDEX must not exceed the current number of workspaces."
;; Tiling. ;; Tiling.
(if (get-buffer-window nil frame) (if (get-buffer-window nil frame)
(when (eq frame exwm-workspace--current) (when (eq frame exwm-workspace--current)
(run-window-configuration-change-hook frame)) (exwm-layout--refresh frame))
(set-window-buffer (get-buffer-window nil t) (set-window-buffer (get-buffer-window nil t)
(other-buffer nil t)) (other-buffer nil t))
(unless (eq frame exwm-workspace--current) (unless (eq frame exwm-workspace--current)