mirror of
https://github.com/Kitware/CMake.git
synced 2026-02-11 09:39:49 -06:00
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:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user