diff options
| author | Maxime Coste <mawww@kakoune.org> | 2017-09-28 10:38:42 +0800 |
|---|---|---|
| committer | Maxime Coste <mawww@kakoune.org> | 2017-09-28 10:38:42 +0800 |
| commit | a727e0fa0a0a750071a8b29c3fb2db1bf5bf9fcc (patch) | |
| tree | 01dfe413f684c5cbcdc1fe331840c4c2685b889c /src/normal.cc | |
| parent | c7c8c145618ec017f85a6e0dd0903e59dcb48bb4 (diff) | |
| parent | 6b339b7a97692efb53af42650f570242e38ab008 (diff) | |
Merge remote-tracking branch 'Delapouite/jump'
Diffstat (limited to 'src/normal.cc')
| -rw-r--r-- | src/normal.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/normal.cc b/src/normal.cc index 0a82d4d4..6f1103ae 100644 --- a/src/normal.cc +++ b/src/normal.cc @@ -1399,8 +1399,8 @@ template<Direction direction> void jump(Context& context, NormalParams) { auto jump = (direction == Forward) ? - context.jump_list().forward() : - context.jump_list().backward(context.selections()); + context.jump_list().forward(context) : + context.jump_list().backward(context); Buffer* oldbuf = &context.buffer(); Buffer& buffer = const_cast<Buffer&>(jump.buffer()); |
