summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/lisp.el
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2011-06-02 01:25:28 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2011-06-02 01:25:28 -0700
commit275a5dd65098a2d6fcc14c21f805fc8d5e4479ee (patch)
treea03e79b0a7c066940ed02cd11927c7fd4080f092 /lisp/emacs-lisp/lisp.el
parent97f4ea979720e535ade3fe0055fb710e18fb7b5d (diff)
parentf797625a8ca7bc973b6943c6fce97f1e479a283d (diff)
downloademacs-275a5dd65098a2d6fcc14c21f805fc8d5e4479ee.tar.gz
Merge from trunk.
Diffstat (limited to 'lisp/emacs-lisp/lisp.el')
-rw-r--r--lisp/emacs-lisp/lisp.el5
1 files changed, 2 insertions, 3 deletions
diff --git a/lisp/emacs-lisp/lisp.el b/lisp/emacs-lisp/lisp.el
index ece96fe2515..db6a03333d4 100644
--- a/lisp/emacs-lisp/lisp.el
+++ b/lisp/emacs-lisp/lisp.el
@@ -636,9 +636,8 @@ considered."
(plist (nthcdr 3 data)))
(if (null data)
(minibuffer-message "Nothing to complete")
- (let ((completion-annotate-function
- (plist-get plist :annotation-function)))
- (completion-in-region (nth 0 data) (nth 1 data) (nth 2 data)
+ (let ((completion-extra-properties plist))
+ (completion-in-region (nth 0 data) (nth 1 data) (nth 2 data)
(plist-get plist :predicate))))))