From 8b102bf6067b59f6ca56d464d866404cde36b8e5 Mon Sep 17 00:00:00 2001 From: Po Lu Date: Tue, 6 Jun 2023 21:06:58 +0800 Subject: [PATCH] ; * lisp/simple.el (analyze-text-conversion): Remove old workaround. --- lisp/simple.el | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/lisp/simple.el b/lisp/simple.el index 62489d8ffcb..3757f91d11a 100644 --- a/lisp/simple.el +++ b/lisp/simple.el @@ -11051,12 +11051,7 @@ seconds." ;; Save the current undo list to figure out ;; whether or not auto-fill has actually taken ;; place. - (old-undo-list buffer-undo-list) - ;; FIXME: this leads to an error in - ;; `atomic-change-group', seemingly because - ;; buffer-undo-list is being modified or - ;; prematurely truncated. Turn it off for now. - (electric-pair-preserve-balance nil)) + (old-undo-list buffer-undo-list)) (save-excursion (if (and auto-fill-function newline-p) (progn (goto-char (nth 2 edit)) -- 2.39.2