diff options
| -rw-r--r-- | lisp/complete.el | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/lisp/complete.el b/lisp/complete.el index fea94618632..fa559e91395 100644 --- a/lisp/complete.el +++ b/lisp/complete.el | |||
| @@ -228,7 +228,7 @@ See `PC-complete' for details." | |||
| 228 | (if (or (eq flag 'complete) | 228 | (if (or (eq flag 'complete) |
| 229 | (not minibuffer-completion-confirm)) | 229 | (not minibuffer-completion-confirm)) |
| 230 | (exit-minibuffer) | 230 | (exit-minibuffer) |
| 231 | (PC-temp-minibuffer-message " (Confirm)")))))) | 231 | (PC-temp-minibuffer-message " [Confirm]")))))) |
| 232 | 232 | ||
| 233 | 233 | ||
| 234 | (defun PC-completion-help () | 234 | (defun PC-completion-help () |
| @@ -400,10 +400,10 @@ See `PC-complete' for details." | |||
| 400 | (PC-do-completion 'word)) | 400 | (PC-do-completion 'word)) |
| 401 | (beep) | 401 | (beep) |
| 402 | (PC-temp-minibuffer-message (if ambig | 402 | (PC-temp-minibuffer-message (if ambig |
| 403 | " (Ambiguous dir name)" | 403 | " [Ambiguous dir name]" |
| 404 | (if (eq mode 'help) | 404 | (if (eq mode 'help) |
| 405 | " (No completions)" | 405 | " [No completions]" |
| 406 | " (No match)"))) | 406 | " [No match]"))) |
| 407 | nil)) | 407 | nil)) |
| 408 | 408 | ||
| 409 | ;; More than one valid completion found | 409 | ;; More than one valid completion found |
| @@ -441,12 +441,12 @@ See `PC-complete' for details." | |||
| 441 | (while (and p | 441 | (while (and p |
| 442 | (not (equal (car p) basestr))) | 442 | (not (equal (car p) basestr))) |
| 443 | (setq p (cdr p))) | 443 | (setq p (cdr p))) |
| 444 | (if p | 444 | (and p (null mode) |
| 445 | 445 | (PC-temp-minibuffer-message " [Complete, but not unique]")) | |
| 446 | (progn | 446 | (if (and p |
| 447 | (if (null mode) | 447 | (not (and (null mode) |
| 448 | (PC-temp-minibuffer-message " (Complete, but not unique)")) | 448 | (eq this-command last-command)))) |
| 449 | t) | 449 | t |
| 450 | 450 | ||
| 451 | ;; If ambiguous, try for a partial completion | 451 | ;; If ambiguous, try for a partial completion |
| 452 | (let ((improved nil) | 452 | (let ((improved nil) |
| @@ -539,14 +539,14 @@ See `PC-complete' for details." | |||
| 539 | ;; so that choosing a completion from the list | 539 | ;; so that choosing a completion from the list |
| 540 | ;; knows how much old text to replace. | 540 | ;; knows how much old text to replace. |
| 541 | (setq completion-base-size dirlength))) | 541 | (setq completion-base-size dirlength))) |
| 542 | (PC-temp-minibuffer-message " (Next char not unique)")) | 542 | (PC-temp-minibuffer-message " [Next char not unique]")) |
| 543 | nil))))) | 543 | nil))))) |
| 544 | 544 | ||
| 545 | ;; Only one possible completion | 545 | ;; Only one possible completion |
| 546 | (t | 546 | (t |
| 547 | (if (equal basestr (car poss)) | 547 | (if (equal basestr (car poss)) |
| 548 | (if (null mode) | 548 | (if (null mode) |
| 549 | (PC-temp-minibuffer-message " (Sole completion)")) | 549 | (PC-temp-minibuffer-message " [Sole completion]")) |
| 550 | (delete-region beg end) | 550 | (delete-region beg end) |
| 551 | (insert (format "%s" | 551 | (insert (format "%s" |
| 552 | (if filename | 552 | (if filename |