summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authorDario Gjorgjevski <dario.gjorgjevski+git@gmail.com>2021-04-26 09:57:23 +0200
committerMichael Albinus <michael.albinus@gmx.de>2021-04-26 09:57:23 +0200
commita9560a2b51191bbd832641fb8b0f9d88e89b5d36 (patch)
treeffd0cb6549fc231eb897359e3eec53ed093b6c81 /lisp
parent50f29f6a282b7426377be5fb54322fc5b5a487fc (diff)
downloademacs-a9560a2b51191bbd832641fb8b0f9d88e89b5d36.tar.gz
emacs-a9560a2b51191bbd832641fb8b0f9d88e89b5d36.tar.bz2
emacs-a9560a2b51191bbd832641fb8b0f9d88e89b5d36.zip
Fix typo in tramp-get-remote-gid
* lisp/net/tramp.el (tramp-get-remote-gid): Pass the correct operation to find-file-name-handler. (Bug#48026)
Diffstat (limited to 'lisp')
-rw-r--r--lisp/net/tramp.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/net/tramp.el b/lisp/net/tramp.el
index a411aafa875..dc34b8f024d 100644
--- a/lisp/net/tramp.el
+++ b/lisp/net/tramp.el
@@ -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)