Subject: bug#58202: [PATCH] Move point to end of line after indent for sieve-mode

From: John Helmert III <[email-masked]>
Date: Fri, 30 Sep 2022 13:07:28 -0500

* lisp/net/sieve-mode.el: move pointer to end of line after indenting

---
 lisp/net/sieve-mode.el | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/lisp/net/sieve-mode.el b/lisp/net/sieve-mode.el
index f62af03534..80532fc1ba 100644
--- a/lisp/net/sieve-mode.el
+++ b/lisp/net/sieve-mode.el
@@ -200,7 +200,8 @@ Turning on Sieve mode runs `sieve-mode-hook'."
     (let ((depth (car (syntax-ppss))))
       (when (looking-at "[ \t]*}")
         (setq depth (1- depth)))
-      (indent-line-to (* 2 depth)))))
+      (indent-line-to (* 2 depth))))
+  (end-of-line))
 
 (provide 'sieve-mode)
 
-- 
2.37.3