On Thu, Nov 26, 2020 at 07:44:10PM +0100, Christopher Dimech wrote: [...] > Had thought that setq was actually a global thing, not local. > For local variables I was using "let" and "let*", but that seems > a wrong understanding. No, no. I was talking about buffer-local, i.e. bound to the buffer. Your local is wrt. to the code (dynamic or lexical) Buffer-local variables are global variables, as seen from the code's perspective. You didn't look at the docs, did you? Cheers - t