diff options
| -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 745a813b758..2d2a8773bfe 100644 --- a/lisp/pcomplete.el +++ b/lisp/pcomplete.el | |||
| @@ -772,7 +772,7 @@ this is `comint-dynamic-complete-functions'." | |||
| 772 | (setq c (cdr c))) | 772 | (setq c (cdr c))) |
| 773 | (setq pcomplete-stub (substring common-stub 0 len) | 773 | (setq pcomplete-stub (substring common-stub 0 len) |
| 774 | pcomplete-autolist t) | 774 | pcomplete-autolist t) |
| 775 | (when (and begin (not pcomplete-show-list)) | 775 | (when (and begin (> len 0) (not pcomplete-show-list)) |
| 776 | (delete-region begin (point)) | 776 | (delete-region begin (point)) |
| 777 | (pcomplete-insert-entry "" pcomplete-stub)) | 777 | (pcomplete-insert-entry "" pcomplete-stub)) |
| 778 | (throw 'pcomplete-completions completions)) | 778 | (throw 'pcomplete-completions completions)) |