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

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

Re: Please why ORDER of .emacs lines here matters.....


From: Kai Großjohann
Subject: Re: Please why ORDER of .emacs lines here matters.....
Date: Fri, 01 Aug 2003 22:48:09 +0200
User-agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (gnu/linux)

seberino@spawar.navy.mil (Christian Seberino) writes:

>   (defun cs-python-mode()
>       (setq-default  py-indent-offset        8            )

Normally, hooks are run in each buffer that is in that mode, so IMVHO
it doesn't (normally) make sense to use setq-default in hooks.  Use
setq instead.  That sets the buffer-local value, if the variable is
buffer-local.
-- 
~/.signature


reply via email to

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