]> git.eshelyaron.com Git - emacs.git/commitdiff
Do not pare arguments unnecessarily.
authorGregory Heytings <gregory@heytings.org>
Sat, 10 Dec 2022 21:40:31 +0000 (21:40 +0000)
committerGregory Heytings <gregory@heytings.org>
Mon, 12 Dec 2022 01:02:36 +0000 (02:02 +0100)
* lisp/pcomplete.el (pcomplete-here-using-help): Do not pare
arguments.  Fixes bug#59803.

lisp/pcomplete.el

index 8be026b5a825d6fbfc2ac16266bd2f556c64f9da..4e3a88bbda8c8b72fc86b7760d2e5af014e6678c 100644 (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)