Chinaunix首页 | 论坛 | 博客
  • 博客访问: 1251439
  • 博文数量: 264
  • 博客积分: 10772
  • 博客等级: 上将
  • 技术积分: 2325
  • 用 户 组: 普通用户
  • 注册时间: 2007-07-25 11:54
文章分类

全部博文(264)

文章存档

2012年(4)

2011年(51)

2010年(31)

2009年(57)

2008年(51)

2007年(70)

分类: LINUX

2008-02-29 10:52:48

;; set c basic offset
(defun linux-c-mode ()
;"C mode with adjusted defaults for use with the Linux kernel."
(interactive)
(c-mode)
(c-set-style "K&R")
(setq c-basic-offset 8))
 
(setq auto-mode-alist
      (append '((""     . linux-c-mode)
                (""     . linux-c-mode)
                ) auto-mode-alist))
阅读(1562) | 评论(0) | 转发(1) |
给主人留下些什么吧!~~