CMake/Auxiliary
Joerg Bornemann 91336c7469 cmake-mode.el: Simplify jumping to begin/end of functions/macros
This change was spawned by the desire to use `narrow-to-defun` in CMake
files. However, there was no "CMake version" of that function, and it
turns out that we don't need one if we make `beginning-of-defun` and
`end-of-defun` work in `cmake-mode`.

In the setup code of `cmake-mode` we now set the local variables
`beginning-of-defun-function` and `end-of-defun-function`. This makes
`beginning-of-defun` and `end-of-defun` work as expected.

Functions that use this facility also work now: `mark-defun` and
`narrow-to-defun` and possibly others.

We remove `cmake-mark-defun` since it's superfluous now.

We remove the defun-related key bindings since the standard functions
that are bound globally work fine with this patch.
2024-01-25 11:51:17 -05:00
..
bash-completion bash-completion: Support CMakePresets in cmake and ctest completion 2022-04-29 14:33:19 +10:00
vim Autogen: AUTO*_EXECUTABLE: add support for per-config values 2024-01-17 16:02:58 +01:00
cmake-mode.el cmake-mode.el: Simplify jumping to begin/end of functions/macros 2024-01-25 11:51:17 -05:00
cmake.m4 LCC: Add dedicated support for MCST LCC compiler 2021-10-15 05:05:19 +03:00
CMakeLists.txt Auxiliary: Add options to control Vim and Emacs file installation 2020-07-21 08:34:30 -04:00