Function: cmake-end-of-defun
cmake-end-of-defun is an interactive and natively compiled function
defined in cmake-mode.el.
Signature
(cmake-end-of-defun)
Documentation
Move forward to the end of a CMake function or macro.
Return t unless search stops due to end of buffer.
Key Bindings
This command is not in any keymaps.
Source Code
;; Defined in /nix/store/xpmgnbrvz0j5ic5m3q6fvh28ca8a9avm-emacs-packages-deps/share/emacs/site-lisp/elpa/cmake-mode-20261002.1529/cmake-mode.el
(defun cmake-end-of-defun ()
"Move forward to the end of a CMake function or macro.
Return t unless search stops due to end of buffer."
(interactive)
(when (not (region-active-p))
(push-mark))
(let ((case-fold-search t))
(when (re-search-forward cmake--regex-defun-end nil 'move)
(forward-line)
t)))