diff options
author | Stefan Monnier <monnier@iro.umontreal.ca> | 2022-06-05 19:51:29 -0400 |
---|---|---|
committer | Stefan Monnier <monnier@iro.umontreal.ca> | 2022-06-05 19:51:29 -0400 |
commit | 0a36671f415bd681ddca0bad8612aca031fd407d (patch) | |
tree | 6a51c6df72dffcf2aa73458b7f3f9775a11a7c51 /lisp/emacs-lisp/eieio.el | |
parent | f5e8e7a7b9db94092503e35be3a3501905798ed5 (diff) | |
download | emacs-0a36671f415bd681ddca0bad8612aca031fd407d.tar.gz emacs-0a36671f415bd681ddca0bad8612aca031fd407d.tar.bz2 emacs-0a36671f415bd681ddca0bad8612aca031fd407d.zip |
pcomplete.el: Fix part of bug#50470
Try and handle the case where `pcomplete-parse-arguments-function`
directly returns a list of completions.
* lisp/pcomplete.el (pcomplete-parse-arguments): Don't modify the
buffer if we're not allowed to. Instead use the buffer's current
content as the "pattern to be completed" and return the list
of completions as is. Also, use `try-completions` to simplify the
previous code.
Diffstat (limited to 'lisp/emacs-lisp/eieio.el')
0 files changed, 0 insertions, 0 deletions