diff options
| author | Glenn Morris <rgm@gnu.org> | 2013-07-24 08:56:24 -0700 |
|---|---|---|
| committer | Glenn Morris <rgm@gnu.org> | 2013-07-24 08:56:24 -0700 |
| commit | 86c4097015a8ed8d0a9d7c44f6c8a86fe31ea209 (patch) | |
| tree | a0d48968140148f2842052f1a6a0986b597defcf /lisp/ffap.el | |
| parent | 198fa217564af28aa5075e80f2fc089a221e69d7 (diff) | |
| download | emacs-86c4097015a8ed8d0a9d7c44f6c8a86fe31ea209.tar.gz | |
* lisp/ffap.el (ffap-machine-p): Handle "not known" response.
Fixes: debbugs:14929
Diffstat (limited to 'lisp/ffap.el')
| -rw-r--r-- | lisp/ffap.el | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/ffap.el b/lisp/ffap.el index 0769469cbf2..70096248e19 100644 --- a/lisp/ffap.el +++ b/lisp/ffap.el @@ -459,7 +459,8 @@ Returned values: (let ((mesg (car (cdr error)))) (cond ;; v18: - ((string-match "^Unknown host" mesg) nil) + ((string-match "\\(^Unknown host\\|Name or service not known$\\)" + mesg) nil) ((string-match "not responding$" mesg) mesg) ;; v19: ;; (file-error "connection failed" "permission denied" |
