diff options
| author | Michael Albinus | 2015-12-13 13:47:40 +0100 |
|---|---|---|
| committer | Michael Albinus | 2015-12-13 13:47:40 +0100 |
| commit | 536f6fc826b4cd024bf3b332e8342b9509f77bfb (patch) | |
| tree | 4b48c4e5f29aa473cd585cd384ed73e162d9915d | |
| parent | 09663d9b91803882508bd805581b95f8990eb441 (diff) | |
| download | emacs-536f6fc826b4cd024bf3b332e8342b9509f77bfb.tar.gz emacs-536f6fc826b4cd024bf3b332e8342b9509f77bfb.zip | |
* lisp/ido.el (ido-file-name-all-completions-1): Do not raise an error
... in case of Tramp. (Bug#20821)
| -rw-r--r-- | lisp/ido.el | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lisp/ido.el b/lisp/ido.el index a254b4fefcf..1415b27a3a7 100644 --- a/lisp/ido.el +++ b/lisp/ido.el | |||
| @@ -3559,7 +3559,9 @@ it is put to the start of the list." | |||
| 3559 | (let* ((len (1- (length dir))) | 3559 | (let* ((len (1- (length dir))) |
| 3560 | (non-essential t) | 3560 | (non-essential t) |
| 3561 | (compl | 3561 | (compl |
| 3562 | (or (file-name-all-completions "" dir) | 3562 | (or ;; We do not want to be disturbed by "File does not |
| 3563 | ;; exist" errors. | ||
| 3564 | (ignore-errors (file-name-all-completions "" dir)) | ||
| 3563 | ;; work around bug in ange-ftp. | 3565 | ;; work around bug in ange-ftp. |
| 3564 | ;; /ftp:user@host: => nil | 3566 | ;; /ftp:user@host: => nil |
| 3565 | ;; /ftp:user@host:./ => ok | 3567 | ;; /ftp:user@host:./ => ok |