diff options
Diffstat (limited to 'lisp/net/tramp-message.el')
| -rw-r--r-- | lisp/net/tramp-message.el | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lisp/net/tramp-message.el b/lisp/net/tramp-message.el index 7b405061ba8..37628e2f001 100644 --- a/lisp/net/tramp-message.el +++ b/lisp/net/tramp-message.el | |||
| @@ -398,8 +398,12 @@ FMT-STRING and ARGUMENTS." | |||
| 398 | vec-or-proc 1 "%s" | 398 | vec-or-proc 1 "%s" |
| 399 | (error-message-string | 399 | (error-message-string |
| 400 | (list signal | 400 | (list signal |
| 401 | ;; FIXME: Looks redundant since `error-message-string' | ||
| 402 | ;; already uses the `error-message' property of `signal'! | ||
| 401 | (get signal 'error-message) | 403 | (get signal 'error-message) |
| 402 | (apply #'format-message fmt-string arguments)))) | 404 | (apply #'format-message fmt-string arguments)))) |
| 405 | ;; FIXME: This doesn't look right: ELisp code should be able to rely on | ||
| 406 | ;; the "shape" of the list based on the type of the signal. | ||
| 403 | (signal signal (list (substring-no-properties | 407 | (signal signal (list (substring-no-properties |
| 404 | (apply #'format-message fmt-string arguments)))))) | 408 | (apply #'format-message fmt-string arguments)))))) |
| 405 | 409 | ||