|
From: | Stefan Monnier |
Subject: | Re: master f117b5df4d: Add new functions eol and bol |
Date: | Sat, 20 Aug 2022 12:47:33 -0400 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) |
> if (PT > newpos > && FETCH_BYTE (PT_BYTE - 1) == '\n') > { > /* If we skipped over a newline that follows > an invisible intangible run, > move back to the last tangible position > within the line. */ > > SET_PT (PT - 1); > break; > } > else if (PT > newpos && PT < ZV > && FETCH_BYTE (PT_BYTE) != '\n') > /* If we skipped something intangible > and now we're not really at eol, > keep going. */ Note: this code should disappear when we remove the obsolete `inhibit-point-motion-hooks`. Stefan
[Prev in Thread] | Current Thread | [Next in Thread] |