In new emacs we have a cool define-derived-mode macro. So most programming modes inherit from prog-mode and run prog-mode-hook.
However I'am not sure how to do it correctly for cperl-mode... must I use run-mode-hooks here or may be it is totally wrong idea?
In new emacs we have a cool define-derived-mode macro. So most programming modes inherit from prog-mode and run prog-mode-hook. However I'am not sure how to do it correctly for cperl-mode... must I use run-mode-hooks here or may be it is totally wrong idea?