summaryrefslogtreecommitdiff
path: root/lisp/pcomplete.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/pcomplete.el')
-rw-r--r--lisp/pcomplete.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/pcomplete.el b/lisp/pcomplete.el
index 5111e632c2f..2f5dcdfb5e8 100644
--- a/lisp/pcomplete.el
+++ b/lisp/pcomplete.el
@@ -545,7 +545,7 @@ Same as `pcomplete' but using the standard completion UI."
;; variables to parse args, so there's no point autoloading it.
;; ;;;###autoload
(defun pcomplete-std-complete ()
- (let ((data pcomplete-completions-at-point))
+ (let ((data (pcomplete-completions-at-point)))
(completion-in-region (nth 0 data) (nth 1 data) (nth 2 data)
(plist-get :predicate (nthcdr 3 data)))))