jed-users mailing list

[2002 Date Index] [2002 Thread Index] [Other years]
[Thread Prev] [Thread Next]      [Date Prev] [Date Next]

Re: Untabbing


Chris Ross <chris@xxxxxxxxxxxxxx> wrote:
>I have a function that will untab the buffer and I have bound that to
>a key, how can I get that function to be run everytime I save a C file?
>I basically dont want tabs but spaces instead.

You can use one of the _jed_save_buffer hooks.  See hooks.txt for more
information.

If you do not want tabs in C mode, then it is simpler to use the following:

   define c_mode_hook ()
   {
      TAB=0;
   }

--John

--------------------------
To unsubscribe send email to <jed-users-request@xxxxxxxxxxx> with
the word "unsubscribe" in the message body.
Need help? Email <jed-users-owner@xxxxxxxxxxx>.


[2002 date index] [2002 thread index]
[Thread Prev] [Thread Next]      [Date Prev] [Date Next]