emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/crux 785dfba 095/112: crux-smart-open-line-above: Use crux


From: ELPA Syncer
Subject: [nongnu] elpa/crux 785dfba 095/112: crux-smart-open-line-above: Use crux-move-to-mode-line-start
Date: Wed, 11 Aug 2021 09:58:01 -0400 (EDT)

branch: elpa/crux
commit 785dfbabd9aacfbf97bd29b6f48018053d51ad6c
Author: Andrii Kolomoiets <andreyk.mad@gmail.com>
Commit: Bozhidar Batsov <bozhidar.batsov@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)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]