开发者

CC-Mode 5.32.1 with Latest Emacs

I'm trying cc-mode 5.32.1 with Emacs trunk. When I compile I get these errors

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

Load completes without erros but I when I try to edit in my new version of c-mode I get these errors:

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]

Is there an easy way out of this problem or should I wait for the emacs developers to fix this. I know quit a lot about Emacs-Lisp but this problem beats me.

Maybe a hint: When I lookup buffer-syntactic-context i get

buffer-syntactic-context is an alias for `cc-bytecomp-ignore-fun:buffer-syntactic-context',
which is not defined.  Please make a bug report.


This has been fixed in CC-Mode version 5.32.2 meaning it's now compatible with Emacs trunk. Thanks Alan.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜