branch: externals/buffer-expose
commit af53a9b8a99a8d9bb85dce5f29a984c5e4de50ee
Author: Clemens Radermacher <[email protected]>
Commit: Clemens Radermacher <[email protected]>
Improve switch buffer
---
buffer-expose.el | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/buffer-expose.el b/buffer-expose.el
index f539036..4821758 100644
--- a/buffer-expose.el
+++ b/buffer-expose.el
@@ -876,7 +876,10 @@ F defaults to the currently selected window."
(funcall buffer-expose--cancel-overriding-map-function)
(let (buf)
(unwind-protect
- (setq buf (call-interactively buffer-expose-switch-to-buffer-func))
+ (progn
+ (buffer-expose--set-current-buffer-background t)
+ (setq buf
+ (call-interactively buffer-expose-switch-to-buffer-func)))
(if (not buf)
(progn (buffer-expose--set-current-buffer-background)
(buffer-expose--init-map))