Merge topic 'emacs-cmake-mode'

8eb8e27fb2 cmake-mode.el: Use line-beginning-position instead of obsolete point-at-bol

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !9714
This commit is contained in:
Brad King
2024-08-14 17:25:18 +00:00
committed by Kitware Robot

View File

@@ -183,7 +183,7 @@ set the path with these commands:
)
(defun cmake-point-in-indendation ()
(string-match "^[ \\t]*$" (buffer-substring (point-at-bol) (point))))
(string-match "^[ \\t]*$" (buffer-substring (line-beginning-position) (point))))
(defun cmake-indent-line-to (column)
"Indent the current line to COLUMN.