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

evil-types.el: fix deprecation warning for Evil's internal variable #1866

Merged
merged 1 commit into from
Feb 22, 2024

Conversation

Hi-Angel
Copy link
Contributor

@Hi-Angel Hi-Angel commented Feb 21, 2024

Split from #1860

This deprecation warning is targeted towards users' configuration. Having it warn about the variable being processed inside Evil is pointless, because of course it is processed in the mode, the mode have to handle it.

So suppress it by wrapping into (with-no-warnings).

Fixes:

evil-types.el:96:22: Error: ‘evil-want-visual-char-semi-exclusive’ is an obsolete variable (as of 1.15.0);

This deprecation warning is targeted towards users' configuration.
Having it warn about the variable being processed inside Evil is
pointless, because of course it is processed in the mode, the mode
have to handle it.

So suppress it by wrapping into `(with-no-warnings)`.

Fixes:
    evil-types.el:96:22: Error: ‘evil-want-visual-char-semi-exclusive’ is an obsolete variable (as of 1.15.0); Semi-exclusivity prevents selecting text + 1st char of next line,
    without having to introduce new niche functionality.
@axelf4 axelf4 merged commit a7ffa73 into emacs-evil:master Feb 22, 2024
4 checks passed
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.

2 participants