Function: tramp-signal-hook-function
tramp-signal-hook-function is a byte-compiled function defined in
tramp.el.gz.
Signature
(tramp-signal-hook-function ERROR-SYMBOL DATA)
Documentation
Function to be called via signal-hook-function.
Source Code
;; Defined in /usr/src/emacs/lisp/net/tramp.el.gz
;; This function provides traces in case of errors not triggered by
;; Tramp functions.
(defun tramp-signal-hook-function (error-symbol data)
"Function to be called via `signal-hook-function'."
;; `custom-initialize-*' functions provoke `void-variable' errors.
;; We don't want to see them in the backtrace.
(unless (eq error-symbol 'void-variable)
(let ((inhibit-message t))
(tramp-error
(car tramp-current-connection) error-symbol
(mapconcat (lambda (x) (format "%s" x)) data " ")))))