]> git.eshelyaron.com Git - emacs.git/commitdiff
; * lisp/simple.el (analyze-text-conversion): Remove old workaround.
authorPo Lu <luangruo@yahoo.com>
Tue, 6 Jun 2023 13:06:58 +0000 (21:06 +0800)
committerPo Lu <luangruo@yahoo.com>
Tue, 6 Jun 2023 13:06:58 +0000 (21:06 +0800)
lisp/simple.el

index 62489d8ffcb5d2597a5028496e23d7aeeb8bd399..3757f91d11ab1a19140f9a3b4ac8400dc8e24e5b 100644 (file)
@@ -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))