mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-06-14 04:21:24 +00:00
* lisp/net/tramp.el (tramp-signal-hook-function): Extend docstring.
This commit is contained in:
parent
2ae21d78ec
commit
b1f24b3589
1 changed files with 4 additions and 3 deletions
|
|
@ -2148,10 +2148,11 @@ does not exist, otherwise propagate the error."
|
|||
(tramp-error ,vec 'file-missing ,filename))
|
||||
(signal (car ,err) (cdr ,err)))))))
|
||||
|
||||
;; 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'."
|
||||
"Function to be called via `signal-hook-function'.
|
||||
It provides traces in case of errors not triggered by Tramp functions.
|
||||
If there is an error which should not appear in Tramp traces, let-bind
|
||||
`signal-hook-function' to nil around the respective code."
|
||||
;; `custom-initialize-*' functions provoke `void-variable' errors.
|
||||
;; We don't want to see them in the backtrace.
|
||||
(declare (tramp-suppress-trace t))
|
||||
|
|
|
|||
Loading…
Reference in a new issue