From: Michael Albinus Date: Thu, 30 Nov 2023 13:48:54 +0000 (+0100) Subject: * lisp/net/tramp.el (tramp-local-host-regexp): Extend. X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=5aba199d75414f51ec1c3ce61d769cf3d8912daf;p=emacs.git * lisp/net/tramp.el (tramp-local-host-regexp): Extend. --- diff --git a/lisp/net/tramp.el b/lisp/net/tramp.el index e19b8c78f8c..9ca0e3c34d3 100644 --- a/lisp/net/tramp.el +++ b/lisp/net/tramp.el @@ -552,14 +552,17 @@ host runs a restricted shell, it shall be added to this list, too." ;;;###tramp-autoload (defcustom tramp-local-host-regexp - (rx - bos - (| (literal tramp-system-name) - (| "localhost" "localhost4" "localhost6" "127.0.0.1" "::1")) - eos) + (rx bos + (| (literal tramp-system-name) + (| "localhost" "127.0.0.1" "::1" + ;; Fedora. + "localhost4" "localhost6" + ;; Ubuntu. + "ip6-localhost" "ip6-loopback")) + eos) "Host names which are regarded as local host. If the local host runs a chrooted environment, set this to nil." - :version "29.1" + :version "30.1" :type '(choice (const :tag "Chrooted environment" nil) (regexp :tag "Host regexp")))