mirror of
https://github.com/ch11ng/exwm.git
synced 2024-11-30 14:38:00 +01:00
Use read-buffer-to-switch in exwm-workspace-switch-to-buffer
read-buffer-to-switch elides the current buffer from the list of completions and selects a sane default.
This commit is contained in:
parent
1c8101afbf
commit
7d732d78f5
1 changed files with 1 additions and 1 deletions
|
@ -783,7 +783,7 @@ INDEX must not exceed the current number of workspaces."
|
||||||
(rename-buffer (substring (buffer-name) 1))))))
|
(rename-buffer (substring (buffer-name) 1))))))
|
||||||
(prog1
|
(prog1
|
||||||
(with-local-quit
|
(with-local-quit
|
||||||
(list (get-buffer (read-buffer "Switch to buffer: " nil t))))
|
(list (get-buffer (read-buffer-to-switch "Switch to buffer: "))))
|
||||||
;; Hide buffers on other workspaces
|
;; Hide buffers on other workspaces
|
||||||
(unless exwm-workspace-show-all-buffers
|
(unless exwm-workspace-show-all-buffers
|
||||||
(dolist (pair exwm--id-buffer-alist)
|
(dolist (pair exwm--id-buffer-alist)
|
||||||
|
|
Loading…
Reference in a new issue