]> git.eshelyaron.com Git - emacs.git/commitdiff
; Fix last change
authorPo Lu <luangruo@yahoo.com>
Wed, 6 Mar 2024 02:20:36 +0000 (10:20 +0800)
committerEshel Yaron <me@eshelyaron.com>
Wed, 6 Mar 2024 11:36:45 +0000 (12:36 +0100)
* lisp/net/tramp-androidsu.el
(tramp-androidsu-generate-wrapper): Arguments to fset must be
symbols rather than functions.

(cherry picked from commit 845d334c10ab8a12ac5eead90abfa9cae1f4b67c)

lisp/net/tramp-androidsu.el

index c7fb67d4081214d898f21f8f0fa9539474839b8b..c24ac0790228906e2627e8e286cd4a0f3b8d8a49 100644 (file)
@@ -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)