Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
14a7fbd8
Commit
14a7fbd8
authored
Apr 29, 2011
by
Stefan Monnier
Browse files
* lisp/pcomplete.el (pcomplete-std-complete): Don't abuse
completion-at-point.
parent
38b3645a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
2 deletions
+8
-2
lisp/ChangeLog
lisp/ChangeLog
+5
-0
lisp/pcomplete.el
lisp/pcomplete.el
+3
-2
No files found.
lisp/ChangeLog
View file @
14a7fbd8
2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
* pcomplete.el (pcomplete-std-complete): Don't abuse
completion-at-point.
2011-04-28 Juanma Barranquero <lekktu@gmail.com>
* calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
...
...
lisp/pcomplete.el
View file @
14a7fbd8
...
...
@@ -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.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment