0
0
Fork 1
mirror of https://git.savannah.gnu.org/git/emacs/org-mode.git synced 2024-09-29 22:37:47 +00:00

Merge branch 'bugfix'

This commit is contained in:
Bastien 2021-09-25 23:09:50 +02:00
commit faf1ba8cde

View file

@ -7888,7 +7888,8 @@ called immediately, to move the markers with the entries."
"Check if MARKER is between BEG and END.
If yes, remember the marker and the distance to BEG."
(when (and (marker-buffer marker)
(equal (marker-buffer marker) (current-buffer))
(or (equal (marker-buffer marker) (current-buffer))
(equal (marker-buffer marker) (buffer-base-buffer (current-buffer))))
(>= marker beg) (< marker end))
(push (cons marker (- marker beg)) org-markers-to-move)))