org-format-latex: Add FIXME
* lisp/org.el (org-format-latex): Mark `overlay-recenter' call for removal after Emacs 28 support is dropped.
This commit is contained in:
parent
0a5dd8cf68
commit
8dfd8c987c
|
@ -15755,6 +15755,8 @@ Some of the options can be changed using the variable
|
||||||
(cnt 0)
|
(cnt 0)
|
||||||
checkdir-flag)
|
checkdir-flag)
|
||||||
(goto-char (or beg (point-min)))
|
(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").
|
;; Optimize overlay creation: (info "(elisp) Managing Overlays").
|
||||||
(when (and overlays (memq processing-type '(dvipng imagemagick)))
|
(when (and overlays (memq processing-type '(dvipng imagemagick)))
|
||||||
(overlay-recenter (or end (point-max))))
|
(overlay-recenter (or end (point-max))))
|
||||||
|
|
Loading…
Reference in New Issue