Commit 99c79fee authored by Stefan Monnier's avatar Stefan Monnier
Browse files

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

Fixes: debbugs:9160
parent 6131ba7f
2011-12-02 Stefan Monnier <monnier@iro.umontreal.ca> 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 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
(bug#10191). (bug#10191).
......
...@@ -309,7 +309,8 @@ ...@@ -309,7 +309,8 @@
(let* ((fa (file-attributes (pcomplete-arg 1))) (let* ((fa (file-attributes (pcomplete-arg 1)))
(size (nth 7 fa))) (size (nth 7 fa)))
(and (numberp size) (and (numberp size)
(< size large-file-warning-threshold)))) (or (null large-file-warning-threshold)
(< size large-file-warning-threshold)))))
(let ((file (pcomplete-arg 1))) (let ((file (pcomplete-arg 1)))
(completion-table-dynamic (completion-table-dynamic
(lambda (_string) (lambda (_string)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment