Slawomir Grochowski <[email protected]> writes: > Good point, thanks. I moved the helper to org-macs.el and reused it in > the matching places in org-table.el. I also added a test. > > What do you think about the name? I used `org-ensure-and-move-marker' to > indicate that it creates a marker when passed nil, but I am wondering > whether the simpler org-move-marker would be preferable.
Yes, org-move-marker will make sense. At least, we commonly use that kind of naming to expand built-in functions. Also, I think there are some places where we do almost the same thing, but copy marker. -- Ihor Radchenko // yantar92, Org mode maintainer, Learn more about Org mode at <https://orgmode.org/>. Support Org development at <https://liberapay.com/org-mode>, or support my work at <https://liberapay.com/yantar92>
