From 8dfd8c987c5df14c23e05763287f18a4dba3e380 Mon Sep 17 00:00:00 2001 From: Ihor Radchenko Date: Sat, 5 Aug 2023 16:14:25 +0300 Subject: [PATCH] org-format-latex: Add FIXME * lisp/org.el (org-format-latex): Mark `overlay-recenter' call for removal after Emacs 28 support is dropped. --- lisp/org.el | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lisp/org.el b/lisp/org.el index 1ac912e61..f39258f9f 100644 --- a/lisp/org.el +++ b/lisp/org.el @@ -15755,6 +15755,8 @@ Some of the options can be changed using the variable (cnt 0) checkdir-flag) (goto-char (or beg (point-min))) + ;; FIXME: `overlay-recenter' is not needed (and has no effect) + ;; since Emacs 29. ;; Optimize overlay creation: (info "(elisp) Managing Overlays"). (when (and overlays (memq processing-type '(dvipng imagemagick))) (overlay-recenter (or end (point-max))))