...
original commit: 66b36519c8735739e56678ffbf939069c1dcca8c
This commit is contained in:
parent
5ebcb7bf53
commit
455a0456e6
|
@ -362,16 +362,12 @@
|
|||
; look for letter at beginning of a filename
|
||||
|
||||
[(char? code)
|
||||
(letrec
|
||||
([loop
|
||||
(lambda (pos)
|
||||
(unless
|
||||
(>= pos num-items)
|
||||
(let ([first-char (string-ref (get-string pos) 0)])
|
||||
(if (char=? code first-char)
|
||||
(set-selection-and-edit pos)
|
||||
(loop (add1 pos))))))])
|
||||
(loop (add1 curr-pos)))]
|
||||
(let loop ([pos (add1 curr-pos)])
|
||||
(unless (>= pos num-items)
|
||||
(let ([first-char (string-ref (get-string pos) 0)])
|
||||
(if (char=? code first-char)
|
||||
(set-selection-and-edit pos)
|
||||
(loop (add1 pos))))))]
|
||||
|
||||
; movement keys
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user