Hi Bozhidar,
Bozhidar Batsov <bozhidar@batsov.com> 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!