]> code.delx.au - gnu-emacs/commitdiff
* lisp/ffap.el (ffap-machine-p): Handle "not known" response.
authorGlenn Morris <rgm@gnu.org>
Wed, 24 Jul 2013 15:56:24 +0000 (08:56 -0700)
committerGlenn Morris <rgm@gnu.org>
Wed, 24 Jul 2013 15:56:24 +0000 (08:56 -0700)
Fixes: debbugs:14929
lisp/ChangeLog
lisp/ffap.el

index bd7c43983fe0731f175a39ebf9b2197e6ed4643c..a85c8c19546ba7ff4e1386c08b6a9d6c08705f2f 100644 (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):
index 0769469cbf299b49e838f53085cefab05ef9e60f..70096248e1996f1241e4bd49c55645f2d2b48ef1 100644 (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"