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

Force `window-end' to update when creating background for visual area #75

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

cute-jumper
Copy link

When using heml-M-x to call the ace-jump-line-mode command, the helm window will occupy some space of the original window, so calling window-end without setting the UPDATE to be t might not reflect the real end point of the original window, which makes the created overlay of the gray background doesn't cover all the area after the helm window disappears. Forcing the UPDATE parameter to t when calling the `window-end' would solve the problem.

Actually in ace-jump-search-candidate, we set the UPDATE to t in (end-point (window-end current-window t))(see https://github.com/winterTTr/ace-jump-mode/blob/master/ace-jump-mode.el#L361) and when making the overlay for the background, we should also do the same.

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.

1 participant