diff options
| author | Gregory Heytings | 2022-12-10 21:40:31 +0000 |
|---|---|---|
| committer | Gregory Heytings | 2022-12-12 02:02:36 +0100 |
| commit | 24c8c28ae617df018ee2c8b2f9df93608467d392 (patch) | |
| tree | 75b26354990bb9cd059b72339748767cd3d14678 | |
| parent | 9c0d7bb73bb6a8d81b476d3fa497569c3061bdca (diff) | |
| download | emacs-24c8c28ae617df018ee2c8b2f9df93608467d392.tar.gz emacs-24c8c28ae617df018ee2c8b2f9df93608467d392.zip | |
Do not pare arguments unnecessarily.
* lisp/pcomplete.el (pcomplete-here-using-help): Do not pare
arguments. Fixes bug#59803.
| -rw-r--r-- | lisp/pcomplete.el | 2 |
1 files changed, 1 insertions, 1 deletions
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." | |||
| 1456 | (pcomplete-match-string 1 0))) | 1456 | (pcomplete-match-string 1 0))) |
| 1457 | ((string-prefix-p "-" (pcomplete-arg 0)) | 1457 | ((string-prefix-p "-" (pcomplete-arg 0)) |
| 1458 | (pcomplete-here (apply #'pcomplete-from-help command args))) | 1458 | (pcomplete-here (apply #'pcomplete-from-help command args))) |
| 1459 | (t (pcomplete-here (pcomplete-entries)))))) | 1459 | (t (pcomplete-here* (pcomplete-entries)))))) |
| 1460 | 1460 | ||
| 1461 | (provide 'pcomplete) | 1461 | (provide 'pcomplete) |
| 1462 | 1462 | ||