]> code.delx.au - gnu-emacs/blobdiff - lisp/pcmpl-gnu.el
* lisp/pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil.
[gnu-emacs] / lisp / pcmpl-gnu.el
index b2c8de6ec2fbc34e6c276251e4afbf7784000a43..608a9dc2e8800e54c0d1c0e4c06637196abf32f3 100644 (file)
                      (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)