码迷,mamicode.com
首页 > 其他好文 > 详细

Fix header line conflict between tabbar and cedet

时间:2015-09-10 22:31:08      阅读:150      评论:0      收藏:0      [点我收藏+]

标签:

 

Fix header line conflict between tabbar and cedet

1 Problem Description

When I open .c/.cpp file, tabbar header line is occupied by cedet semantic

2 fix process

add

(global-semantic-stickyfunc-mode nil)

in the last cfg line of cedet

3 tabbar install

  • M-x package-list-packages
  • C-s tabbar
  • install
  • Cfg
(add-to-list ‘load-path "~/.emacs.d/elpa/tabbar-20141109.143/")
(requiretabbar)
(tabbar-mode)

(defun my-tabbar-buffer-groups ()  
  "Return the list of group names the current buffer belongs to.  
   Return a list of one element based on major mode."  
  (list  
   (cond  
    ((string-equal "*" (substring (buffer-name) 0 1))  
     "Emacs Buffer"  
     )  
    ((eq major-mode ‘dired-mode)  
     "Dired"  
     )  
    (t  
     "User Buffer"  
     ))))  

(setq tabbar-buffer-groups-function ‘my-tabbar-buffer-groups)

Fix header line conflict between tabbar and cedet

标签:

原文地址:http://www.cnblogs.com/aqing1987/p/4799186.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!