I'm using Emacs 29.0.60
If I open emacs -q, open a Emacs Lisp buffer with FlyMake enabled and type this:
;;; init.el --- summary
;;; Commentary:
;;; Code:
(setq var1 2)
(customize-set-variable var2 2)
(setopt var3 2)
(provide 'init)
;;; init.el ends here
FlyMake will give me only two warnings:
7 6 warning e-f-b-c assignment to free variable ‘var1’
8 24 warning e-f-b-c reference to free variable ‘var2’
Why setopt is not underlined here? I know it's a new macro introduced in Emacs 29 but I wonder if it is intended to be like this or the linter is just misbehaving here.
M-x report-emacs-bug. Emacs developers will (politely) let you know whether they think there's a problem to be fixed, etc. And if there is, they'll thank you for reporting it.flymakedoes not know aboutsetopt. Consider adding an issue on the Github repo.