Stefan Monnier <[email protected]> writes: >> - (let* ((p (or (and (looking-at "\\'") (1- (point))) (point))) >> + (let* ((p (or (and (/= 1 (point)) (looking-at "\\'") (1- (point))) >> (point))) > > (not (bobp)) would be more efficient.
Yes. Or (max (point-min) (1- (point))). Not a big deal. I just accepted first-time contribution. -- 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>
