Closed mgi closed 4 months ago
We have several uses of cl-case
in the code base. Maybe we should replace all of them with pcase
?
I don't know… maybe. But for this case, a simple cond
does the trick.
I forgot to say that this patch fixes a regression for me: I'm switching back and forth between the laptop screen and an external one with calls to xrandr
scripts. Without this patch, EXWM does not adapt its resolution when switching (it was on 0.30).
All the other cl-case
instances look correct (they're matching on symbols).
(let's merge this one as-is because it's fixing a bug, we can replace everything with pcases in a separate patch if desirable)
Steven Allen @.***> writes:
Merged #71 into master.
Thanks Steven. -- Manuel Giraud
I don't know if it has ever worked (unless there was a change in `cl-case' semantic).