[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master 845d334c10a 1/2: ; Fix last change
From: |
Po Lu |
Subject: |
master 845d334c10a 1/2: ; Fix last change |
Date: |
Tue, 5 Mar 2024 21:48:52 -0500 (EST) |
branch: master
commit 845d334c10ab8a12ac5eead90abfa9cae1f4b67c
Author: Po Lu <luangruo@yahoo.com>
Commit: Po Lu <luangruo@yahoo.com>
; Fix last change
* lisp/net/tramp-androidsu.el
(tramp-androidsu-generate-wrapper): Arguments to fset must be
symbols rather than functions.
---
lisp/net/tramp-androidsu.el | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/lisp/net/tramp-androidsu.el b/lisp/net/tramp-androidsu.el
index c7fb67d4081..c24ac079022 100644
--- a/lisp/net/tramp-androidsu.el
+++ b/lisp/net/tramp-androidsu.el
@@ -232,16 +232,16 @@ FUNCTION."
;; tramp-adb-wait-for-output addresses problems introduced
;; by the adb utility itself, not Android utilities, so
;; replace it with the regular TRAMP function.
- (fset #'tramp-adb-wait-for-output #'tramp-wait-for-output)
+ (fset 'tramp-adb-wait-for-output #'tramp-wait-for-output)
;; Likewise, except some special treatment is necessary on
;; account of flaws in Android's su implementation.
- (fset #'tramp-adb-maybe-open-connection
+ (fset 'tramp-adb-maybe-open-connection
#'tramp-androidsu-maybe-open-connection)
(apply function args))
;; Restore the original definitions of the functions overridden
;; above.
- (fset #'tramp-adb-wait-for-output tramp-adb-wait-for-output)
- (fset #'tramp-adb-maybe-open-connection
+ (fset 'tramp-adb-wait-for-output tramp-adb-wait-for-output)
+ (fset 'tramp-adb-maybe-open-connection
tramp-adb-maybe-open-connection)))))
(defalias 'tramp-androidsu-handle-copy-file #'tramp-sh-handle-copy-file)