Use `other-buffer' instead of "*scratch*"
* exwm-workspace.el (exwm-workspace-move-window): Display `other-buffer' instead of "*scratch*" in the window whose buffer has been made floating.
This commit is contained in:
parent
3763195fe3
commit
e4704479a8
1 changed files with 1 additions and 5 deletions
|
@ -347,11 +347,7 @@ The optional FORCE option is for internal use only."
|
|||
;; Move the X window container.
|
||||
(if (= index exwm-workspace-current-index)
|
||||
(set-window-buffer (get-buffer-window (current-buffer) t)
|
||||
(or (get-buffer "*scratch*")
|
||||
(progn
|
||||
(set-buffer-major-mode
|
||||
(get-buffer-create "*scratch*"))
|
||||
(get-buffer "*scratch*"))))
|
||||
(other-buffer))
|
||||
(bury-buffer)
|
||||
;; Clear the 'exwm-selected-window' frame parameter.
|
||||
(set-frame-parameter frame 'exwm-selected-window nil))
|
||||
|
|
Loading…
Reference in a new issue