emacs-devel
[Top][All Lists]
Advanced

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

Re: comint-carriage-motion causes severe problems.


From: Miles Bader
Subject: Re: comint-carriage-motion causes severe problems.
Date: 05 Jul 2002 03:21:12 +0900

"Stefan Monnier" <monnier+gnu/address@hidden> writes:
> Global customizations normally occur before buffers are created, so
> before the (remove-hook 'foo 'bar 'local) has even a chance of being run.

Yes but as Kai noted `normally' isn't `always'.

It seems simpler and less likely to cause surprises to just always add
(not . FOO) if FOO isn't in the local hook, even if there's no FOO in
the global hook either -- what would be the disadvantage of that?

[of course, doing a local `add-hook' of FOO should remove the (not . FOO)!]

-Miles
-- 
`There are more things in heaven and earth, Horatio,
 Than are dreamt of in your philosophy.'



reply via email to

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