List nothing instead of everything in (apropos-list "")
This commit is contained in:
parent
05c43c716c
commit
2d89603691
File diff suppressed because it is too large
Load Diff
|
@ -1106,10 +1106,13 @@
|
|||
(cond ((string? key) key)
|
||||
((symbol? key) (symbol->string key))
|
||||
(else (error "Please give a string or symbol key"))))))
|
||||
(if (= 0 (string-length key))
|
||||
'()
|
||||
(sort (filter (λ (sym)
|
||||
(string.find (string-downcase (symbol->string sym)) key))
|
||||
(string.find
|
||||
(string-downcase (symbol->string sym)) key))
|
||||
(environment))
|
||||
string<? symbol->string)))
|
||||
string<? symbol->string))))
|
||||
|
||||
(define (apropos . args)
|
||||
(for-each (λ (sym)
|
||||
|
|
Loading…
Reference in New Issue