defvar-local
defvar-local is a Lisp macro in `subr.el
'.
(defvar-local VAR VAL &optional DOCSTRING)
Define VAR as a buffer-local variable with default value VAL.
Like `defvar' but additionally marks the variable as being automatically
buffer-local wherever it is set.