emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] /srv/bzr/emacs/trunk r106580: * lisp/pcmpl-gnu.el (pcomple


From: Stefan Monnier
Subject: [Emacs-diffs] /srv/bzr/emacs/trunk r106580: * lisp/pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil.
Date: Fri, 02 Dec 2011 09:44:19 -0500
User-agent: Bazaar (2.3.1)

------------------------------------------------------------
revno: 106580
fixes bug(s): http://debbugs.gnu.org/cgi/bugreport.cgi?bug=9160
committer: Stefan Monnier <address@hidden>
branch nick: trunk
timestamp: Fri 2011-12-02 09:44:19 -0500
message:
  * lisp/pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil.
modified:
  lisp/ChangeLog
  lisp/pcmpl-gnu.el
=== modified file 'lisp/ChangeLog'
--- a/lisp/ChangeLog    2011-12-02 14:18:18 +0000
+++ b/lisp/ChangeLog    2011-12-02 14:44:19 +0000
@@ -1,5 +1,8 @@
 2011-12-02  Stefan Monnier  <address@hidden>
 
+       * 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).
 

=== modified file 'lisp/pcmpl-gnu.el'
--- a/lisp/pcmpl-gnu.el 2011-10-02 01:04:01 +0000
+++ b/lisp/pcmpl-gnu.el 2011-12-02 14:44:19 +0000
@@ -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)


reply via email to

[Prev in Thread] Current Thread [Next in Thread]