我一直在尝试使用 Cask 安装 Yasnippet,但我无法让它工作。我已经使用 Cask 安装了其他软件包,它们似乎可以工作,但 Yasnippet 不会加载。当我打开 Emacs 并将 (yas-global-mode 1) 添加到我的 init.el 文件时出现此错误。
Warning (initialization): An error occurred while loading `/home/adam/.emacs.d/init.el':
error: Don't know how to make a localized variable an alias
To ensure normal operation, you should investigate and remove the
cause of the error in your initialization file. Start Emacs with
the `--debug-init' option to view a complete error backtrace.
Cask 已被删除并重新安装在我的主文件夹中。/home/adam/.emacs.d/.cask/24.3.1/elpa/ 中的 Yasnippet 地图已被删除并使用 Cask 重新安装。
提前感谢您的帮助!
编辑:emacs --debug-init
Debugger entered--Lisp error: (error "Don't know how to make a localized variable an alias")
defvaralias(yas/fallback-behavior yas-fallback-behavior)
byte-code("\304\211\203?