Skip to content

Conversation

@mychris
Copy link

@mychris mychris commented Nov 19, 2025

The property for the mode-name is :mode-name in evil-common.el, but :mode in evil-jumps.el. Changed it in evil-jumps.el, so that the mode-name in jump-list buffers is set correct.

For local variables, they are killed if a major-mode gets set, if the variable is not marked as permanent-local.
See (info "(emacs) Locals"):

M-x kill-local-variable makes a specified variable cease to be local to the current buffer. The global value of the variable henceforth is in effect in this buffer. Setting the major mode kills all the local variables of the buffer except for a few variables specially marked as permanent locals.

Since all the variables in tabulated-list are marked as permanent locals, I marked evil-list-view-select-action as well. In addition, I moved the initialization of evil-list-view-select-action after switching to evil-list-view-mode, just to be sure.

This also fixes the :select-action of evil-show-marks buffers.

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