diff options
| author | Stefan Kangas | 2022-10-01 17:14:47 +0200 |
|---|---|---|
| committer | Stefan Kangas | 2022-10-01 17:14:47 +0200 |
| commit | abe83f76de36bc3922b410f9872065fc3903738b (patch) | |
| tree | a6133bd943743563787f5504122aef5dcb3a4ddc | |
| parent | ced37a87e73e6450b554d5a5db2b451aec70fafe (diff) | |
| parent | be3eac3929c96d9ba340ef362cc1146b0b487f1f (diff) | |
| download | emacs-abe83f76de36bc3922b410f9872065fc3903738b.tar.gz emacs-abe83f76de36bc3922b410f9872065fc3903738b.zip | |
Merge from origin/emacs-28
be3eac3929 ; * etc/NEWS: Fix typos.
99a8c53247 Fix connection property incompatibility in Tramp
# Conflicts:
# etc/NEWS
| -rw-r--r-- | etc/NEWS.28 | 5 | ||||
| -rw-r--r-- | lisp/net/tramp.el | 5 |
2 files changed, 7 insertions, 3 deletions
diff --git a/etc/NEWS.28 b/etc/NEWS.28 index 6e5ddfa0662..1edf4e85b09 100644 --- a/etc/NEWS.28 +++ b/etc/NEWS.28 | |||
| @@ -30,12 +30,11 @@ with a prefix argument or by typing 'C-u C-h C-n'. | |||
| 30 | 30 | ||
| 31 | * Changes in Specialized Modes and Packages in Emacs 28.3 | 31 | * Changes in Specialized Modes and Packages in Emacs 28.3 |
| 32 | 32 | ||
| 33 | ** 'native-comp-driver-options' on macOS | 33 | ** 'native-comp-driver-options' on macOS. |
| 34 | |||
| 35 | The value of 'native-comp-driver-options' has been changed to contain | 34 | The value of 'native-comp-driver-options' has been changed to contain |
| 36 | "-Wl,-w" to suppress warnings of the form | 35 | "-Wl,-w" to suppress warnings of the form |
| 37 | 36 | ||
| 38 | ld: warning: -undefined dynamic_lookup may not work with chained fixups | 37 | ld: warning: -undefined dynamic_lookup may not work with chained fixups |
| 39 | 38 | ||
| 40 | emitted during native compilation on macOS 12.6 with Xcode 14. | 39 | emitted during native compilation on macOS 12.6 with Xcode 14. |
| 41 | 40 | ||
diff --git a/lisp/net/tramp.el b/lisp/net/tramp.el index 55c7cd5f37d..373392f7c84 100644 --- a/lisp/net/tramp.el +++ b/lisp/net/tramp.el | |||
| @@ -6124,6 +6124,11 @@ This handles also chrooted environments, which are not regarded as local." | |||
| 6124 | (defun tramp-get-remote-tmpdir (vec) | 6124 | (defun tramp-get-remote-tmpdir (vec) |
| 6125 | "Return directory for temporary files on the remote host identified by VEC." | 6125 | "Return directory for temporary files on the remote host identified by VEC." |
| 6126 | (with-tramp-connection-property (tramp-get-process vec) "remote-tmpdir" | 6126 | (with-tramp-connection-property (tramp-get-process vec) "remote-tmpdir" |
| 6127 | ;; Prior Tramp 2.5.3.2, the connection property "tmpdir" did exist | ||
| 6128 | ;; with a remote file name. This must be discarded. (Bug#57800) | ||
| 6129 | (when-let ((tmpdir (tramp-get-connection-property vec "tmpdir" nil))) | ||
| 6130 | (when (tramp-tramp-file-p tmpdir) | ||
| 6131 | (tramp-flush-connection-property vec "tmpdir"))) | ||
| 6127 | (let ((dir | 6132 | (let ((dir |
| 6128 | (tramp-make-tramp-file-name | 6133 | (tramp-make-tramp-file-name |
| 6129 | vec (or (tramp-get-method-parameter vec 'tramp-tmpdir) "/tmp")))) | 6134 | vec (or (tramp-get-method-parameter vec 'tramp-tmpdir) "/tmp")))) |