diff options
author | Michael Albinus <michael.albinus@gmx.de> | 2020-12-17 18:52:23 +0100 |
---|---|---|
committer | Michael Albinus <michael.albinus@gmx.de> | 2020-12-17 18:52:23 +0100 |
commit | ddff5d3d879d23f0684b8abe7d923fce4f86ec2e (patch) | |
tree | 26369adf33fb81537e14d86a4d259436e855feae /doc/lispref/os.texi | |
parent | d428cc1b927ae1bf8240ed30b37c9418e819381d (diff) | |
download | emacs-ddff5d3d879d23f0684b8abe7d923fce4f86ec2e.tar.gz emacs-ddff5d3d879d23f0684b8abe7d923fce4f86ec2e.tar.bz2 emacs-ddff5d3d879d23f0684b8abe7d923fce4f86ec2e.zip |
Some minor Tramp changes
* doc/lispref/os.texi (Timers): Speak about `remote-file-error'.
* doc/misc/tramp.texi (Frequently Asked Questions): Speak about
`remote-file-error'.
(External packages): New subsection "Timers".
* lisp/net/tramp-adb.el (tramp-adb-handle-make-process):
* lisp/net/tramp-sh.el (tramp-sh-handle-make-process): Adapt error
function. Handle coding.
* lisp/net/tramp.el (tramp-handle-make-process): Adapt error function.
Diffstat (limited to 'doc/lispref/os.texi')
-rw-r--r-- | doc/lispref/os.texi | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/doc/lispref/os.texi b/doc/lispref/os.texi index bc602205f5d..85f930d1897 100644 --- a/doc/lispref/os.texi +++ b/doc/lispref/os.texi @@ -2106,6 +2106,19 @@ run while waiting. If a timer function needs to perform an action after a certain time has elapsed, it can do this by scheduling a new timer. + If a timer function performs a remote file operation, it can be in +conflict with an already running remote file operation of the same +connection. Such conflicts are detected, and they result in a +@code{remote-file-error} error (@pxref{Standard Errors}). This should +be protected by wrapping the timer function body with + +@lisp +@group +(ignore-error 'remote-file-error + @dots{}) +@end group +@end lisp + If a timer function calls functions that can change the match data, it should save and restore the match data. @xref{Saving Match Data}. |