Tags: patch Hi, This patch makes the byte-compiler (and by extension, Flymake), emit warnings when setq-default and setopt are used to set the value of unknown variables, similarly to the warnings we get with setq. Ideally we should do something similar for setq-local, but AFAICT that requires a different solution due to different implementation details.