diff options
| author | Stefan Monnier | 2026-03-09 10:34:05 -0400 |
|---|---|---|
| committer | Stefan Monnier | 2026-03-09 10:34:05 -0400 |
| commit | 0487d68ab9992be4fa70cfd908909001f71e66af (patch) | |
| tree | 8c93da3b94717d184f88277e277de949ecb2fb9c /lisp/net/tramp.el | |
| parent | 798dceb467d4ead092979822f24090c8378f8320 (diff) | |
| download | emacs-scratch/error-API.tar.gz emacs-scratch/error-API.zip | |
Diffstat (limited to 'lisp/net/tramp.el')
| -rw-r--r-- | lisp/net/tramp.el | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lisp/net/tramp.el b/lisp/net/tramp.el index 5441a26d7a0..fc607967194 100644 --- a/lisp/net/tramp.el +++ b/lisp/net/tramp.el | |||
| @@ -2153,7 +2153,7 @@ does not exist, otherwise propagate the error." | |||
| 2153 | (if (not (or (file-exists-p ,filename) (file-symlink-p ,filename))) | 2153 | (if (not (or (file-exists-p ,filename) (file-symlink-p ,filename))) |
| 2154 | (when (tramp-connectable-p ,vec) | 2154 | (when (tramp-connectable-p ,vec) |
| 2155 | (tramp-error ,vec 'file-missing ,filename)) | 2155 | (tramp-error ,vec 'file-missing ,filename)) |
| 2156 | (signal (car ,err) (cdr ,err))))))) | 2156 | (signal ,err)))))) |
| 2157 | 2157 | ||
| 2158 | (defun tramp-signal-hook-function (error-symbol data) | 2158 | (defun tramp-signal-hook-function (error-symbol data) |
| 2159 | "Function to be called via `signal-hook-function'. | 2159 | "Function to be called via `signal-hook-function'. |
| @@ -4038,7 +4038,7 @@ BODY is the backend specific code." | |||
| 4038 | (progn ,@body) | 4038 | (progn ,@body) |
| 4039 | (error (if tramp-inhibit-errors-if-setting-file-attributes-fail | 4039 | (error (if tramp-inhibit-errors-if-setting-file-attributes-fail |
| 4040 | (display-warning 'tramp (error-message-string err)) | 4040 | (display-warning 'tramp (error-message-string err)) |
| 4041 | (signal (car err) (cdr err))))))))) | 4041 | (signal err)))))))) |
| 4042 | 4042 | ||
| 4043 | (defmacro tramp-skeleton-write-region | 4043 | (defmacro tramp-skeleton-write-region |
| 4044 | (start end filename append visit lockname mustbenew &rest body) | 4044 | (start end filename append visit lockname mustbenew &rest body) |
| @@ -4846,9 +4846,9 @@ existing) are returned." | |||
| 4846 | (tramp-error v 'file-missing filename))) | 4846 | (tramp-error v 'file-missing filename))) |
| 4847 | (error | 4847 | (error |
| 4848 | (add-hook 'find-file-not-found-functions | 4848 | (add-hook 'find-file-not-found-functions |
| 4849 | `(lambda () (signal ',(car err) ',(cdr err))) | 4849 | (lambda () (signal err)) |
| 4850 | nil t) | 4850 | nil t) |
| 4851 | (signal (car err) (cdr err)))) | 4851 | (signal err))) |
| 4852 | 4852 | ||
| 4853 | ;; Save exit. | 4853 | ;; Save exit. |
| 4854 | (when visit | 4854 | (when visit |