diff options
author | Kyle Meyer <kyle@kyleam.com> | 2017-08-02 21:29:56 -0400 |
---|---|---|
committer | Kyle Meyer <kyle@kyleam.com> | 2017-08-02 21:34:29 -0400 |
commit | 3874dace6e37a7d9a86113352e4a4cd05e05106b (patch) | |
tree | 43382279af5b2dc7c034803d79675732b1f36734 /snippets/text-mode/commented-anchor | |
parent | ecb163e4d42a524ac70b7de9f0df8ce86c01ae69 (diff) | |
download | emacs.d-3874dace6e37a7d9a86113352e4a4cd05e05106b.tar.gz |
diff-review: Fix function for comment movement
Rework km/diff-review-next-comment's move procedure to avoid an error
when the buffer doesn't contain any comments and to short-circuit the
recursion when the search function fails. This also introduces a
change in behavior when N exceeds the number of comment blocks
before/after point: instead of always positioning point at the start
of the block, point is positioned at the end of the block for forward
movement and the start of the block for backward movement.
Diffstat (limited to 'snippets/text-mode/commented-anchor')
0 files changed, 0 insertions, 0 deletions