I was experimenting with local variables and set:
(defvar-local foo nil "Buffer local foo")
I later redesigned my program to use a global variable instead using:
(defvar foo nil "Not buffer local foo")
but the variable is still buffer local and even (kill-local-variable 'foo)
didn't kill it.
Basically, how can I "undo" make-local-variable
?
make-variable-buffer-local
notmake-local-variable
.