(apropos-command): Let `var-predicate' have higher priority than
`do-all'.
" (regexp): "))
current-prefix-arg))
(apropos-command regexp nil
- (if arg
+ (if (or do-all apropos-do-all)
#'(lambda (symbol)
(and (boundp symbol)
(get symbol 'variable-documentation)))
(or do-all (setq do-all apropos-do-all))
(setq apropos-accumulator
(apropos-internal apropos-regexp
- (if do-all 'functionp
- (or var-predicate 'commandp))))
+ (or var-predicate
+ (if do-all 'functionp 'commandp))))
(let ((tem apropos-accumulator))
(while tem
(if (get (car tem) 'apropos-inhibit)