Closed benneti closed 1 year ago
It looks like in the evil-ex-define-argument-type substitution
lambda, (minibuffer-selected-window)
returns nil, which is an error to use with with-selected-window
. Funnily enough, if I delete the with-selected-window
call (but keep its body), then the highlight correctly disappears.
What did you expect to happen? using ":%s/old/new/gRET", do the replacement and remove highlights.
What actually happened? The highlight of the region stays active, see screenshot
Additional details:
but I cannot create a backtrace.
Environment
Emacs version: GNU Emacs 28.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.24, cairo version 1.16.0) Operating System: NixOS Evil version: Evil version 1.14.0 Evil installation type: doom emacs (straight.el melpa) Graphical/Terminal: graphical Tested in a
make emacs
session (see CONTRIBUTING.md):System information:
Reproduction steps
EDIT:
I also tried it with make emacs but this configuration does not have the region highlight. But in emacs there were no failed tests reportet and the command line warnings were only related to gtk errors.