On July 23, 2014 at 7:25:39 AM, Dmitry (dgutov@yandex.ru) wrote: Hi Bozhidar,  Bozhidar Batsov writes:  > I was wondering what’s the preferred approach to run a major mode  > without triggering any if its hooks.  Try binding `delay-mode-hooks' to t around the call.  And maybe `delayed-mode-hooks' to nil, also, so that they aren't  triggered later.  Exactly what I needed - works like a charm. Thanks, Dmitry!