removed one unused use of set-c{dr}!

svn: r2202
This commit is contained in:
Robby Findler 2006-02-12 15:37:20 +00:00
parent 00c476c219
commit 79ef8f3f9c
2 changed files with 1 additions and 11 deletions

View File

@ -204,7 +204,7 @@
(define (set-recent-position filename start end)
(let ([recent-items
(filter (λ (x) (string=? (path->string (car x))
(path->string filename)))
(path->string filename)))
(preferences:get 'framework:recently-opened-files/pos))])
(unless (null? recent-items)
(let ([recent-item (car recent-items)])

View File

@ -14,16 +14,6 @@
(import [icon : framework:icon^]
mred^)
(define (list-set! _list _i ele)
(let loop ([lst _list]
[i _i])
(cond
[(null? lst) (error 'list-set! "index too large for list, args: ~e ~e ~e"
_list _i ele)]
[(zero? i) (set-car! lst ele)]
[else (loop (cdr lst) (- i 1))])))
(define single<%> (interface (area-container<%>) active-child))
(define single-mixin
(mixin (area-container<%>) (single<%>)