CMake/Auxiliary
Jostein Kjønigsen b24b58bb7b cmake-mode.el: Add support for prog-mode hooks (#15521)
Since version 24, Emacs supports a generic mode called prog-mode.  Like
all other modes it has its own mode-hook, prog-mode-hook.  For Emacs
users it is common to provide all your generic programming-mode related
customizations in this mode-hook.

cmake-mode is definitely a programming-mode and should support calling
this hook. There are two ways to make that happen:

* Make your major-mode a derived-mode from prog-mode.
* Manually calling the hook upon mode-activation.

Implementing a derived mode may be the most proper thing to do, but that
may require quite a few structural changes.  For now just call the hook
explicitly if it exists.  This should cover much of what users need.
2015-06-23 08:48:01 -04:00
..
bash-completion bash-completion: Avoid using _init_completion when not defined 2015-04-22 09:40:17 -04:00
CMakeLists.txt Move cmake.m4 from Utilities to Auxiliary 2013-10-15 10:46:54 -04:00
cmake-help.vim Rename Docs to Auxiliary 2013-10-15 10:46:54 -04:00
cmake-indent.vim Help: Update cmake.org links to avoid redirects 2015-01-16 15:50:44 -05:00
cmake-mode.el cmake-mode.el: Add support for prog-mode hooks (#15521) 2015-06-23 08:48:01 -04:00
cmake-syntax.vim Help: Update cmake.org links to avoid redirects 2015-01-16 15:50:44 -05:00
cmake.m4 Move cmake.m4 from Utilities to Auxiliary 2013-10-15 10:46:54 -04:00