LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 706|回复: 0

Emacs如何在CC模式下设置行数

[复制链接]
发表于 2005-8-3 00:06:49 | 显示全部楼层 |阅读模式
想在边上设置个行数,增加易读性.
http://zhdotemacs.sourceforge.net/emacs/x459.html
参考了这篇文章,但出现了错误

(emacs test.c)
An error has occurred while loading `/home/linyin/.emacs':

Symbol's function definition is void: set-scroll-bar-mode

To ensure normal operation, you should investigate the cause
of the error in your initialization file and remove it. Start
Emacs with the `--debug-init' option to view a complete error
backtrace

错误的信息

.emacs的配置:
(add-to-list 'load-path "/home/linyin")
(set-scroll-bar-mode nil) ; no scroll bar, even in x-window system
(require 'wb-line-number)
(wb-line-number-enable)
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表