Merge branch 'fjl/read-buffer-to-switch' into externals/exwm

This commit is contained in:
Chris Feng 2016-10-01 18:53:57 +08:00
commit 9a262e8221

View file

@ -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)