* lisp/wid-edit.el (widget-editable-list-entry-create): Don't
use save-excursion when indenting. Previously, it was needed
because we inserted the :entry-format string, but we don't do
that anymore. (Bug#53606)
https://lists.gnu.org/archive/html/emacs-devel/2025-02/msg00958.html
(cherry picked from commit
44a1c4a9aea54d6542bcf0c231b080f0ed023229)
(onext 0) (next 0)
child delete insert)
(widget-specify-insert
- (save-excursion
- (and (widget--should-indent-p)
- (widget-get widget :indent)
- (insert-char ?\s (widget-get widget :indent))))
+ (and (widget--should-indent-p)
+ (widget-get widget :indent)
+ (insert-char ?\s (widget-get widget :indent)))
;; Parse % escapes in format.
(while (string-match "%\\(.\\)" str next)
(setq next (match-end 1))