【问题标题】:Emacs csharp-mode, definition is void: set differenceEmacs csharp-mode,定义无效:设置差异
【发布时间】:2015-09-25 07:59:11
【问题描述】:

我正在设置 Emacs,并且正在尝试为其安装 csharp-mode。我的 .el 文件位于:~/.emacs.d/plugins,但根据 The Github page, it should automatically load after package-install csharp-mode, which it doesn't.

Symbol's function definition is void: set-difference - 当我尝试使用 require 'csharp-mode 进行 eval-buffer 时,我得到的全部信息。有人知道为什么这不起作用吗?

【问题讨论】:

标签: emacs


【解决方案1】:

set-difference 函数定义在 cl 包中,该包包含在 Emacs 中,但不会自动加载。在csharp-mode 之前需要cl 包:

(require 'cl)
(require 'csharp-mode)

同时报告csharp-mode 中的一个错误:它应该会为您解决这个问题。 syohex 已经sent a pull request 在 csharp-mode 中修复了这个问题。

【讨论】:

  • 这确实解决了它。非常感谢!
猜你喜欢
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 2010-10-06
  • 1970-01-01
相关资源
最近更新 更多