branch: elpa/crux commit 785dfbabd9aacfbf97bd29b6f48018053d51ad6c Author: Andrii Kolomoiets <andreyk....@gmail.com> Commit: Bozhidar Batsov <bozhidar.bat...@gmail.com>
crux-smart-open-line-above: Use crux-move-to-mode-line-start --- crux.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crux.el b/crux.el index 0854e4f..eaf3a56 100644 --- a/crux.el +++ b/crux.el @@ -246,7 +246,7 @@ Position the cursor at its beginning, according to the current mode." (if electric-indent-inhibit ;; We can't use `indent-according-to-mode' in languages like Python, ;; as there are multiple possible indentations with different meanings. - (let* ((indent-end (progn (move-to-mode-line-start) (point))) + (let* ((indent-end (progn (crux-move-to-mode-line-start) (point))) (indent-start (progn (move-beginning-of-line nil) (point))) (indent-chars (buffer-substring indent-start indent-end))) (forward-line -1)