summaryrefslogtreecommitdiff
path: root/lisp/pcmpl-gnu.el
diff options
context:
space:
mode:
authorStefan Monnier <monnier@iro.umontreal.ca>2014-12-03 13:42:20 -0500
committerStefan Monnier <monnier@iro.umontreal.ca>2014-12-03 13:42:20 -0500
commit41bb375cc71c70fbe9b405272abf0d5f345eee2a (patch)
tree9e0cf058823558c2b170b161de6b9e9d398441ad /lisp/pcmpl-gnu.el
parente148a1eacaaa6d6e67db09188f66dab06937ae0d (diff)
downloademacs-41bb375cc71c70fbe9b405272abf0d5f345eee2a.tar.gz
Fixes: debbugs:19250
* lisp/minibuffer.el (completion-table-dynamic): Add arg `switch-buffer' and change default to stay in the minibuffer when called from the minibuffer. (lazy-completion-table): Use this new argument to preserve the old behavior. * lisp/progmodes/elisp-mode.el (elisp--local-variables): Don't burp on incorrect lexical elements (bug#19250).
Diffstat (limited to 'lisp/pcmpl-gnu.el')
-rw-r--r--lisp/pcmpl-gnu.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/pcmpl-gnu.el b/lisp/pcmpl-gnu.el
index bcab1f7cb5b..3d769b1fffa 100644
--- a/lisp/pcmpl-gnu.el
+++ b/lisp/pcmpl-gnu.el
@@ -323,8 +323,8 @@
(let ((file (pcomplete-arg 1)))
(completion-table-dynamic
(lambda (_string)
- (pcmpl-gnu-with-file-buffer file
- (mapcar #'tar-header-name tar-parse-info)))))
+ (pcmpl-gnu-with-file-buffer
+ file (mapcar #'tar-header-name tar-parse-info)))))
(pcomplete-entries))
nil 'identity))))