diff options
author | Felix Lange <fjl@twurst.com> | 2016-09-30T11·30+0200 |
---|---|---|
committer | Felix Lange <fjl@twurst.com> | 2016-09-30T11·34+0200 |
commit | 7d732d78f5b3eec89cbbde65596c19a691052625 (patch) | |
tree | 08d80c015bb56af0c8a69d6e357526def918ae7f /exwm-workspace.el | |
parent | 1c8101afbf8eda6f990cde6b551a6bd59e1f7dfd (diff) |
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.
Diffstat (limited to 'exwm-workspace.el')
-rw-r--r-- | exwm-workspace.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/exwm-workspace.el b/exwm-workspace.el index 9034c1133701..12f0be7748af 100644 --- a/exwm-workspace.el +++ b/exwm-workspace.el @@ -783,7 +783,7 @@ INDEX must not exceed the current number of workspaces." (rename-buffer (substring (buffer-name) 1)))))) (prog1 (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 (unless exwm-workspace-show-all-buffers (dolist (pair exwm--id-buffer-alist) |