From: Gregory Heytings Date: Sat, 10 Dec 2022 21:40:31 +0000 (+0000) Subject: Do not pare arguments unnecessarily. X-Git-Tag: emacs-29.0.90~1229 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=24c8c28ae617df018ee2c8b2f9df93608467d392;p=emacs.git Do not pare arguments unnecessarily. * lisp/pcomplete.el (pcomplete-here-using-help): Do not pare arguments. Fixes bug#59803. --- diff --git a/lisp/pcomplete.el b/lisp/pcomplete.el index 8be026b5a82..4e3a88bbda8 100644 --- a/lisp/pcomplete.el +++ b/lisp/pcomplete.el @@ -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)