* lisp/pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro.
authorStefan Monnier <monnier@iro.umontreal.ca>
Sun, 2 Oct 2011 01:00:17 +0000 (21:00 -0400)
committerStefan Monnier <monnier@iro.umontreal.ca>
Sun, 2 Oct 2011 01:00:17 +0000 (21:00 -0400)
commit428fe61ade6439cd2346f2586f56a4cabb8af287
treea4cfd20ba1ad5dd034779c7891623ae378dca748
parent51553db66b4eb8bc7a0d1a1c3206e097e0cc94fa
* lisp/pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro.
(pcmpl-gnu-tar-buffer): Remove.
(pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
avoid.  Make sure pcomplete-suffix-list is only changed temporarily.
Don't look inside the tar's file is it's too large.

Fixes: debbugs:9643
lisp/ChangeLog
lisp/pcmpl-gnu.el