diff options
Diffstat (limited to 'lisp/pcomplete.el')
-rw-r--r-- | lisp/pcomplete.el | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lisp/pcomplete.el b/lisp/pcomplete.el index 6ee617d9862..5111e632c2f 100644 --- a/lisp/pcomplete.el +++ b/lisp/pcomplete.el @@ -545,8 +545,9 @@ 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 ((completion-at-point-functions '(pcomplete-completions-at-point))) - (completion-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))))) ;;; Pcomplete's native UI. |