diff options
Diffstat (limited to 'lisp/pcmpl-gnu.el')
-rw-r--r-- | lisp/pcmpl-gnu.el | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/pcmpl-gnu.el b/lisp/pcmpl-gnu.el index b2c8de6ec2f..608a9dc2e88 100644 --- a/lisp/pcmpl-gnu.el +++ b/lisp/pcmpl-gnu.el @@ -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) |