emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/exwm 7d732d7 1/3: Use read-buffer-to-switch in exwm-wor


From: Chris Feng
Subject: [elpa] externals/exwm 7d732d7 1/3: Use read-buffer-to-switch in exwm-workspace-switch-to-buffer
Date: Sat, 1 Oct 2016 10:55:36 +0000 (UTC)

branch: externals/exwm
commit 7d732d78f5b3eec89cbbde65596c19a691052625
Author: Felix Lange <address@hidden>
Commit: Felix Lange <address@hidden>

    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.
---
 exwm-workspace.el |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/exwm-workspace.el b/exwm-workspace.el
index 9034c11..12f0be7 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)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]