aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/subr.el
diff options
context:
space:
mode:
authorStefan Monnier2005-12-19 02:20:33 +0000
committerStefan Monnier2005-12-19 02:20:33 +0000
commit8e77fbb49fc3b1f5afa4470cb14536cbe48ffe77 (patch)
treed022bee40b8b2fbfa92e0b453604846cb113572e /lisp/subr.el
parent61f03d6f8f37028c704c9129e82ecfd00bb42f4a (diff)
downloademacs-8e77fbb49fc3b1f5afa4470cb14536cbe48ffe77.tar.gz
emacs-8e77fbb49fc3b1f5afa4470cb14536cbe48ffe77.zip
(lazy-completion-table): Don't be fooled if the var holds
a "list" (lambda ...) rather than a real completion list.
Diffstat (limited to 'lisp/subr.el')
-rw-r--r--lisp/subr.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/subr.el b/lisp/subr.el
index 9dce17911d8..d1dbb850d8e 100644
--- a/lisp/subr.el
+++ b/lisp/subr.el
@@ -2268,7 +2268,7 @@ from which the minibuffer was entered. The return value of
2268 (let ((str (make-symbol "string"))) 2268 (let ((str (make-symbol "string")))
2269 `(dynamic-completion-table 2269 `(dynamic-completion-table
2270 (lambda (,str) 2270 (lambda (,str)
2271 (unless (listp ,var) 2271 (when (functionp ,var)
2272 (setq ,var (,fun ,@args))) 2272 (setq ,var (,fun ,@args)))
2273 ,var)))) 2273 ,var))))
2274 2274