[Top][All Lists]

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

derived-mode clashes with hooks

From: Daniel Pfeiffer
Subject: derived-mode clashes with hooks
Date: Thu, 4 Dec 2003 22:06:47 +0100


derived-modes do their body within a form that sets delay-mode-hooks locally.  
But if you derive from a major mode it'll kill that variable and still perform 
its hook immediately.  The following helps:

(put 'delay-mode-hooks 'permanent-local t)

Alternately that variable could be set with a (let form.

coralament / best Grötens / liebe Grüße / best regards / elkorajn salutojn
Daniel Pfeiffer

lerne / learn / apprends / läramå    Esperanto:

reply via email to

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