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

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

Re: setting a variable for a mode


From: Matthew Hinton
Subject: Re: setting a variable for a mode
Date: Tue, 05 Nov 2002 16:51:08 GMT
User-agent: slrn/0.9.7.4 (Linux)

On Fri, 01 Nov 2002 19:05:44 GMT, Cyprian Laskowski <swagbelly@yahoo.com> wrote:
> Try:
> 
> (make-variable-buffer-local 'fill-column)
> (add-hook 'text-mode-hook (lambda () (setq fill-column 78)))
> 

Thank you very much. I wouldn't have figured that out.


-- 
 Thats why I decided to sabotage my highly scientific mind with cartoons 
 and suger.
    -- Sheen from Jimmy Neutron



reply via email to

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