* lisp/ffap.el (ffap-machine-p): Handle "not known" response.

Fixes: debbugs:14929
This commit is contained in:
Glenn Morris 2013-07-24 08:56:24 -07:00
parent 198fa21756
commit 86c4097015
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,7 @@
2013-07-24 Glenn Morris <rgm@gnu.org>
* ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
2013-07-24 Michael Albinus <michael.albinus@gmx.de>
* filenotify.el (file-notify-supported-p):

View file

@ -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"