LinuxSir.cn,穿越时空的Linuxsir!

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

Emacs 中如何像vim中那样可以彩色突出显示代码?

[复制链接]
发表于 2004-2-10 10:51:36 | 显示全部楼层 |阅读模式
我用的是文本界面,vim编出c代码时代码是突出显示,但Emacs
Emacs中如何定制呢?
发表于 2004-2-10 19:57:30 | 显示全部楼层
在$HOME/.emacs里加上

  1. (cond ((not running-xemacs)
  2.        (global-font-lock-mode t)
  3. ))
复制代码
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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