Boost logo

Boost :

From: Ronald Garcia (garcia_at_[hidden])
Date: 2002-09-09 11:33:08


Douglas Gregor wrote:

>On Monday 09 September 2002 11:01 am, Rob Stewart wrote:
>
>
>>From: Douglas Gregor <gregod_at_[hidden]>
>>
>>
>>>Actually, would anyone have a bit 'o' elisp to untabify a file when it's
>>>saved? That would make it rather impossible for Emacs users to add tabs
>>>to Boost sources :)
>>>
>>>
>>Try this (inherited; I'm no elisper):
>>
>>
>[snip elisp]
>
>Works like a charm. Thanks!
>
>Other (X)Emacs-using Boosters might want to use this as well...
>
>
>
An alternative way of handling this is to turn off indent-tabs-mode in
c++ buffers:

(setq c++-mode-hook
      '(lambda ()
         (setq indent-tabs-mode nil)))

ron


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk