Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't dim last buffer when switching to minibuffer or echo area. #15

Conversation

sandinmyjoints
Copy link
Contributor

Fixes #14.

@mina86 mina86 merged commit 853523a into mina86:master Sep 25, 2017
mina86 added a commit that referenced this pull request Sep 25, 2017
…ook’

With ‘auto-dim-other-buffers-dim-on-switch-to-minibuffer’ option disabled,
if user switches from buffer α to minibuffer and then to buffer β (e.g.
by invoking ‘other-window’), buffer α will remain undimmed even though
β becomes the current one.

This is because ‘adob--last-buffer’ is updated to point to minibuffer
even though α remains undimmed.

Move the minibuffer check to the top of ‘adob--buffer-list-update-hook’
function so that switching to minibuffer becomes a noöp, i.e. the code
behaves as if the old buffer was still active.

Fixes: #14
Fixes: #15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants