1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-30 19:53:09 +00:00

Do not pare arguments unnecessarily.

* lisp/pcomplete.el (pcomplete-here-using-help): Do not pare
arguments.  Fixes bug#59803.
This commit is contained in:
Gregory Heytings 2022-12-10 21:40:31 +00:00
parent 9c0d7bb73b
commit 24c8c28ae6

View File

@ -1456,7 +1456,7 @@ COMMAND and ARGS as arguments."
(pcomplete-match-string 1 0)))
((string-prefix-p "-" (pcomplete-arg 0))
(pcomplete-here (apply #'pcomplete-from-help command args)))
(t (pcomplete-here (pcomplete-entries))))))
(t (pcomplete-here* (pcomplete-entries))))))
(provide 'pcomplete)