]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix typo in tramp-get-remote-gid
authorDario Gjorgjevski <dario.gjorgjevski+git@gmail.com>
Mon, 26 Apr 2021 07:57:23 +0000 (09:57 +0200)
committerMichael Albinus <michael.albinus@gmx.de>
Mon, 26 Apr 2021 07:57:23 +0000 (09:57 +0200)
* lisp/net/tramp.el (tramp-get-remote-gid): Pass the correct
operation to find-file-name-handler.  (Bug#48026)

lisp/net/tramp.el

index a411aafa8755072ea0c1d9b71df5eb3bfa1d08c5..dc34b8f024d2b453af91a85c8bad47364d9046ea 100644 (file)
@@ -5080,7 +5080,7 @@ ID-FORMAT valid values are `string' and `integer'."
     (or (when-let
            ((handler
              (find-file-name-handler
-              (tramp-make-tramp-file-name vec) 'tramp-get-remote-uid)))
+              (tramp-make-tramp-file-name vec) 'tramp-get-remote-gid)))
          (funcall handler #'tramp-get-remote-gid vec id-format))
        ;; Ensure there is a valid result.
        (and (equal id-format 'integer) tramp-unknown-id-integer)