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

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

Re: "Tab-fix"


From: denebet
Subject: Re: "Tab-fix"
Date: Tue, 22 Jul 2008 12:11:42 +0200
User-agent: KNode/0.10.9

Pascal J. Bourguignon wrote:

> denebet <address@hidden> writes:
>> (add-hook 'c-mode-hook          'my-tab-fix)
>> (add-hook 'sh-mode-hook         'my-tab-fix)
>> (add-hook 'emacs-lisp-mode-hook 'my-tab-fix)
>>
>> Unfortunately, it seems not to work, at least while editing cpp files.
>>
>> Any idea ?
> 
> In a *.cpp buffer, type: M-: major-mode RET
> What do you get?
> 
c++-mode.

Thanks, fixed my .emacs.
Actually I had tried 
(add-hook 'cc-mode-hook          'my-tab-fix) before sending my message.

Regards,

Alain


reply via email to

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