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

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

Re: help with setq for specific file types....


From: kgold
Subject: Re: help with setq for specific file types....
Date: 30 Sep 2002 14:40:11 GMT

This is usually done in a hook.  Example:

(add-hook 'c-mode-common-hook
          (function (lambda ()
                      (setq c-basic-offset 4)
                      )))

twylie <address@hidden> writes:
> 
> 1. I want to be able to do a setq for specific file types. For example,
> any file that ends with .html I would like to use (setq-default
> line-spacing 12). I see how to add file suffixes to alist -- but not how
> to set setq values. Can someone help me here?

-- 
-- 
Ken Goldman   address@hidden   914-784-7646


reply via email to

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