Skip to content

Commit a02b89f

Browse files
committed
Make move_to local
1 parent 831a6e2 commit a02b89f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lua/orgmode/objects/calendar.lua

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -174,6 +174,7 @@ function Calendar.cursor_up()
174174
return
175175
end
176176

177+
local move_to
177178
if first_num > col then
178179
move_to = first_num
179180
else
@@ -197,6 +198,7 @@ function Calendar.cursor_down()
197198
return
198199
end
199200

201+
local move_to
200202
if last_num < col then
201203
move_to = last_num
202204
else

0 commit comments

Comments
 (0)