我没有具体去研究这个机制,用defvar定义的变量就没问题,而用defvar-local定义或setq-local转化的local变量就有这个问题。我再测试下。
defvar
defvar-local
setq-local
local