* lisp/pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil.

Fixes: debbugs:9160
This commit is contained in:
Stefan Monnier 2011-12-02 09:44:19 -05:00
parent 6131ba7f18
commit 99c79fee51
2 changed files with 5 additions and 1 deletions

View file

@ -1,5 +1,8 @@
2011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
* pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
(bug#9160).
* dired-aux.el (dired-query): Don't assume help-char is modifier-free
(bug#10191).

View file

@ -309,7 +309,8 @@
(let* ((fa (file-attributes (pcomplete-arg 1)))
(size (nth 7 fa)))
(and (numberp size)
(< size large-file-warning-threshold))))
(or (null large-file-warning-threshold)
(< size large-file-warning-threshold)))))
(let ((file (pcomplete-arg 1)))
(completion-table-dynamic
(lambda (_string)