【发布时间】:2011-11-29 08:59:31
【问题描述】:
我正在使用 Emacs 中继尝试 cc-mode 5.32.1。编译时出现这些错误
cc-mode.el:596:29:Error: Symbol's function definition is void: byte-compile-obsolete
Compiling file /home/per/pnw/emacs/cc-mode-5.32.1/cc-styles.el at Sun Oct 2 12:28:53 2011
cc-styles.el:654:29:Error: Symbol's function definition is void: byte-compile-obsolete
加载完成时没有错误,但是当我尝试在新版本的 c-mode 中进行编辑时出现以下错误:
Error during redisplay: (void-function buffer-syntactic-context) [2 times]
byte-code: End of buffer [3 times]
ad-Orig-c-indent-line: Wrong type argument: listp, cc-bytecomp-ignore-var:c-syntactic-contextError during redisplay: (void-function buffer-syntactic-context) [2 times]
c-in-literal: Symbol's function definition is void: buffer-syntactic-context
ad-Orig-c-indent-line: Wrong type argument: listp, cc-bytecomp-ignore-var:c-syntactic-contextError during redisplay: (void-function buffer-syntactic-context)
c-in-literal: Symbol's function definition is void: buffer-syntactic-context
ad-Orig-c-indent-line: Wrong type argument: listp, cc-bytecomp-ignore-var:c-syntactic-contextError during redisplay: (void-function buffer-syntactic-context)
c-in-literal: Symbol's function definition is void: buffer-syntactic-context [2 times]
是否有解决此问题的简单方法,或者我应该等待 emacs 开发人员解决此问题。我知道很多关于 Emacs-Lisp 的事情,但这个问题让我很头疼。
也许是一个提示:当我查找 buffer-syntactic-context 时,我得到了
buffer-syntactic-context is an alias for `cc-bytecomp-ignore-fun:buffer-syntactic-context',
which is not defined. Please make a bug report.
【问题讨论】: