diff options
| -rw-r--r-- | lisp/pcomplete.el | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lisp/pcomplete.el b/lisp/pcomplete.el index 5dff6d954f8..f4b796dd1a7 100644 --- a/lisp/pcomplete.el +++ b/lisp/pcomplete.el | |||
| @@ -150,7 +150,7 @@ This mirrors the optional behavior of tcsh." | |||
| 150 | :type 'boolean | 150 | :type 'boolean |
| 151 | :group 'pcomplete) | 151 | :group 'pcomplete) |
| 152 | 152 | ||
| 153 | (defcustom pcomplete-suffix-list (list directory-sep-char ?:) | 153 | (defcustom pcomplete-suffix-list (list ?/ ?:) |
| 154 | "*A list of characters which constitute a proper suffix." | 154 | "*A list of characters which constitute a proper suffix." |
| 155 | :type '(repeat character) | 155 | :type '(repeat character) |
| 156 | :group 'pcomplete) | 156 | :group 'pcomplete) |
| @@ -740,7 +740,7 @@ component, `default-directory' is used as the basis for completion." | |||
| 740 | (function | 740 | (function |
| 741 | (lambda (file) | 741 | (lambda (file) |
| 742 | (if (eq (aref file (1- (length file))) | 742 | (if (eq (aref file (1- (length file))) |
| 743 | directory-sep-char) | 743 | ?/) |
| 744 | (and pcomplete-dir-ignore | 744 | (and pcomplete-dir-ignore |
| 745 | (string-match pcomplete-dir-ignore file)) | 745 | (string-match pcomplete-dir-ignore file)) |
| 746 | (and pcomplete-file-ignore | 746 | (and pcomplete-file-ignore |
| @@ -757,11 +757,11 @@ component, `default-directory' is used as the basis for completion." | |||
| 757 | ;; since . is earlier in the ASCII alphabet than | 757 | ;; since . is earlier in the ASCII alphabet than |
| 758 | ;; / | 758 | ;; / |
| 759 | (let ((left (if (eq (aref l (1- (length l))) | 759 | (let ((left (if (eq (aref l (1- (length l))) |
| 760 | directory-sep-char) | 760 | ?/) |
| 761 | (substring l 0 (1- (length l))) | 761 | (substring l 0 (1- (length l))) |
| 762 | l)) | 762 | l)) |
| 763 | (right (if (eq (aref r (1- (length r))) | 763 | (right (if (eq (aref r (1- (length r))) |
| 764 | directory-sep-char) | 764 | ?/) |
| 765 | (substring r 0 (1- (length r))) | 765 | (substring r 0 (1- (length r))) |
| 766 | r))) | 766 | r))) |
| 767 | (if above-cutoff | 767 | (if above-cutoff |