diff options
| author | Po Lu | 2024-03-06 10:20:36 +0800 |
|---|---|---|
| committer | Po Lu | 2024-03-06 10:20:36 +0800 |
| commit | 845d334c10ab8a12ac5eead90abfa9cae1f4b67c (patch) | |
| tree | 1600e98d74753cbdeecbcb5e58d6537ff3d58377 | |
| parent | d5f11e890c598cd2e15cb2fd93e604ed100ce355 (diff) | |
| download | emacs-845d334c10ab8a12ac5eead90abfa9cae1f4b67c.tar.gz emacs-845d334c10ab8a12ac5eead90abfa9cae1f4b67c.zip | |
; Fix last change
* lisp/net/tramp-androidsu.el
(tramp-androidsu-generate-wrapper): Arguments to fset must be
symbols rather than functions.
| -rw-r--r-- | lisp/net/tramp-androidsu.el | 8 |
1 files 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." | |||
| 232 | ;; tramp-adb-wait-for-output addresses problems introduced | 232 | ;; tramp-adb-wait-for-output addresses problems introduced |
| 233 | ;; by the adb utility itself, not Android utilities, so | 233 | ;; by the adb utility itself, not Android utilities, so |
| 234 | ;; replace it with the regular TRAMP function. | 234 | ;; replace it with the regular TRAMP function. |
| 235 | (fset #'tramp-adb-wait-for-output #'tramp-wait-for-output) | 235 | (fset 'tramp-adb-wait-for-output #'tramp-wait-for-output) |
| 236 | ;; Likewise, except some special treatment is necessary on | 236 | ;; Likewise, except some special treatment is necessary on |
| 237 | ;; account of flaws in Android's su implementation. | 237 | ;; account of flaws in Android's su implementation. |
| 238 | (fset #'tramp-adb-maybe-open-connection | 238 | (fset 'tramp-adb-maybe-open-connection |
| 239 | #'tramp-androidsu-maybe-open-connection) | 239 | #'tramp-androidsu-maybe-open-connection) |
| 240 | (apply function args)) | 240 | (apply function args)) |
| 241 | ;; Restore the original definitions of the functions overridden | 241 | ;; Restore the original definitions of the functions overridden |
| 242 | ;; above. | 242 | ;; above. |
| 243 | (fset #'tramp-adb-wait-for-output tramp-adb-wait-for-output) | 243 | (fset 'tramp-adb-wait-for-output tramp-adb-wait-for-output) |
| 244 | (fset #'tramp-adb-maybe-open-connection | 244 | (fset 'tramp-adb-maybe-open-connection |
| 245 | tramp-adb-maybe-open-connection))))) | 245 | tramp-adb-maybe-open-connection))))) |
| 246 | 246 | ||
| 247 | (defalias 'tramp-androidsu-handle-copy-file #'tramp-sh-handle-copy-file) | 247 | (defalias 'tramp-androidsu-handle-copy-file #'tramp-sh-handle-copy-file) |