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

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

Re: Adding a hook to sql-mode?


From: Webb S.
Subject: Re: Adding a hook to sql-mode?
Date: Mon, 8 Dec 2008 21:40:51 -0800 (PST)
User-agent: G2/1.0

> Looks like what you are looking for is indent with hard tabs with tab
> width of 4. The following in the mode hook will do this.
>
>          (setq indent-tabs-mode t
>                tab-width 4)
>
> You don't need to redefine TAB key then.

Could you show me how to write the add-hook for that?  I think that is
where my problem is, not in the command.  Yours is probably better,
but mine works if I eval it once the file is open.

Thx


reply via email to

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