Subject: M-$ doesn't respect subword mode

From: Paul Pogonyshev <[email-masked]>
Date: Mon, 6 Dec 2021 16:09:49 +0100

To reproduce:

$ emacs --batch --eval "(global-subword-mode)" --eval "(insert
\"getBanana\")" --eval "(ispell-word)"

Expected output:
...
BANANA is correct

Expected output:
...
Checking spelling of GETBANANA...
C-h or ? for more options; SPC to leave unchanged, Character to replace word

Naturally, this also happens in interactive use.

Paul