bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#9160: 24.0.50; Emacs freezes in *shell* buffer.


From: Stefan Monnier
Subject: bug#9160: 24.0.50; Emacs freezes in *shell* buffer.
Date: Fri, 02 Dec 2011 09:45:07 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.91 (gnu/linux)

> I found that the culprit is large-file-warning-threshold.
> When I set it to nil, the above error is signaled.

I've installed the patch below which should hopefully help.
Can you confirm?


        Stefan


=== modified file 'lisp/pcmpl-gnu.el'
--- lisp/pcmpl-gnu.el   2011-10-02 01:04:01 +0000
+++ lisp/pcmpl-gnu.el   2011-12-02 14:42:41 +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]