]> git.eshelyaron.com Git - emacs.git/commit
Fix Tramp parser
authorMichael Albinus <michael.albinus@gmx.de>
Sun, 7 Jul 2024 17:34:37 +0000 (19:34 +0200)
committerEshel Yaron <me@eshelyaron.com>
Mon, 8 Jul 2024 20:57:57 +0000 (22:57 +0200)
commit26f24069c45974dfab5cf7033e5576f27fba28f6
tree24f5c8117972070905eb15e62f1172d65dd3409d
parentc3735f3b598ceb4144c1c0c5e804b1c368ea5d1e
Fix Tramp parser

* lisp/net/tramp.el (tramp-host-with-port-regexp): Declare.
(tramp-set-syntax): Set also `tramp-host-with-port-regexp'.
(tramp-build-host-with-port-regexp): New defun.
(tramp-host-with-port-regexp): Make it a defvar.  (Bug#71972)

* test/lisp/net/tramp-tests.el (tramp-test01-file-name-syntax)
(tramp-test01-file-name-syntax-simplified)
(tramp-test01-file-name-syntax-separate): Adapt tests.

(cherry picked from commit f4c0459ed3edce33329744f60a0e389c20dc60a5)
lisp/net/tramp.el
test/lisp/net/tramp-tests.el