help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: cscope-minor-mode not enabled for C in emacs 25


From: stefan . puiu
Subject: Re: cscope-minor-mode not enabled for C in emacs 25
Date: Tue, 6 Mar 2018 07:41:54 -0800 (PST)
User-agent: G2/1.0

Hi,

On Monday, March 5, 2018 at 7:30:34 PM UTC+2, Adam Taylor wrote:
> I don't know why it's missing in 25, but you can add it to your c-mode
> easily enough by adding the following to your init file:
>     (add-hook 'c-mode-hook (lambda () (cscope-minor-mode 1)))
> 
> I'll assume you're adding for just c-mode files. If it's cc-mode then
> just change the hook.

Thanks, apparently adding 

(cscope-setup)

in my .emacs solved it. That particular cscope function sets up cscope with 
c-mode and cc-mode. Not sure why in 24 this was not necessary...


reply via email to

[Prev in Thread] Current Thread [Next in Thread]