History

Cosmetics

malc committed 5 years ago

Commit 451c2c71 parent ae12dd51 file · +8 −10Browse files

Unified · Split

config.ml+8−10
@@ -1403,22 +1403,20 @@ let save1 bb leavebirdseye x h dc = · 1402 unmodified lines
14031403 then (
14041404 adddoc docpath pan (getanchor ())
14051405 (
1406− let autoscrollstep =
1407− match !S.autoscroll with
1408− | Some step -> step
1409− | None -> conf.autoscrollstep
1410− in
14111406 begin match !S.mode with
14121407 | Birdseye beye -> leavebirdseye beye true
14131408 | Textentry _
14141409 | View
14151410 | LinkNav _ -> ()
14161411 end;
1417− let key =
1418− if emptystr conf.key
1419− then (try Digest.file docpath |> Digest.to_hex with _ -> E.s)
1420− else conf.key
1421− in { conf with autoscrollstep; key }
1412+ { conf with
1413+ autoscrollstep = (match !S.autoscroll with
1414+ | Some step -> step
1415+ | None -> conf.autoscrollstep)
1416+ ; key = (if emptystr conf.key
1417+ then (try Digest.file docpath |> Digest.to_hex with _ -> E.s)
1418+ else conf.key)
1419+ }
14221420 )
14231421 !S.bookmarks
14241422 (now ())

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t